Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix out of bound errors in block_atmos_copy routines #778

Merged
merged 2 commits into from
Feb 9, 2024

Conversation

DusanJovic-NOAA
Copy link
Collaborator

@DusanJovic-NOAA DusanJovic-NOAA commented Feb 1, 2024

Description

This PR fixes out of bounds array access in 6 overloaded block_atmos_copy subroutines in module_block_data (cpl/module_block_data.F90). See #776 for details.

Issue(s) addressed

Link the issues to be closed with this PR, whether in this repository, or in another repository.
(Remember, issues should always be created before starting work on a PR branch!)

Testing

How were these changes tested? Yes
What compilers / HPCs was it tested with? Intel/Hera
Are the changes covered by regression tests? I'm not sure but probably not, otherwise we would notice this issue earlier. fv3atm component must be coupled with another component that advertises one of the arrays what are copied by one of these 6 routines.
Have the ufs-weather-model regression test been run? Yes. On what platform? Hera

  • Will the code updates change regression test baseline? No.
  • Please commit the regression test log files in your ufs-weather-model branch. Ok.

Dependencies

N/A

@jkbk2004 jkbk2004 merged commit 28bfc36 into NOAA-EMC:develop Feb 9, 2024
2 checks passed
@DusanJovic-NOAA DusanJovic-NOAA deleted the block_atmos_copy_bug branch February 12, 2024 15:42
BinLiu-NOAA pushed a commit to hafs-community/fv3atm that referenced this pull request Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Array overflow bug in 'block_atmos_copy' subroutines
3 participants