-
Notifications
You must be signed in to change notification settings - Fork 102
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 an out-of-bounds read in CLDRAD that crashes RRFS post #286
Fix an out-of-bounds read in CLDRAD that crashes RRFS post #286
Conversation
@SamuelTrahanNOAA Thanks for submitting this bug fix. Could you open a new issue at https://github.com/NOAA-EMC/EMC_post/issues for this pull request? A short description would be good enough. |
@WenMeng-NOAA The PR is #287 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @SamuelTrahanNOAA
I have confirmed this resolves #287 with over 200 tests on Jet. @jaymes-kenyon has done independent tests, and confirmed the same. |
The UPP standard-alone tests were conducted on WCOSS-Dell, WCOSS-Cray and Hera. No changed results were found. This PR is ready for merging. |
Fix an out-of-bounds read in CLDRAD accessing level lm+1 (NOAA-EMC#286)
A loop in CLDRAD was reading out-of-bounds (level
lm+1
). This was detected when the RRFS post randomly crashed on that line about 25% of the time. The bug fix in this PR reliably prevents that crash. The developer of that code, @jaymes-kenyon, confirmed that the bug fix will not affect the algorithm (other than preventing it from crashing).Resolves #287