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

Check that ir is not -1 for region dose scoring #829

Merged
merged 1 commit into from
Jun 27, 2022

Conversation

mxxo
Copy link
Contributor

@mxxo mxxo commented Jan 24, 2022

Before this change, there was an out-of-bounds read in d_reg_index when ir was -1. Fixes #828.

@mxxo mxxo requested a review from a team as a code owner January 24, 2022 21:36
@rtownson rtownson self-assigned this May 11, 2022
@rtownson rtownson added the bug label May 11, 2022
@rtownson rtownson self-requested a review May 11, 2022 20:40
Check that the current region index (ir) is not -1 for region dose
scoring. Before this change, there was an out-of-bounds read in
d_reg_index when the region was -1 (outside the geometry).
@ftessier ftessier merged commit 2e74c8e into nrc-cnrc:develop Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants