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 a potential out-of-range access in peschm #1041

Merged

Conversation

jsberg-bnl
Copy link

In peschm, it is computed mod 20, but the array it indexes into is shorter than that. Changed the mod to be computed with respect to the length of those arrays.

Copy link
Contributor

@madcern madcern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@madcern madcern merged commit dd0d0a2 into MethodicalAcceleratorDesign:master Nov 9, 2021
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.

None yet

2 participants