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 (unlikely) out of bounds in ident.mod #1481

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

michaelortmann
Copy link
Member

@michaelortmann michaelortmann commented Oct 8, 2023

Found by: michaelortmann
Patch by: michaelortmann
Fixes:

One-line summary:
Fix out of bounds

Additional description (if needed):
Theoretically i - 1 could become -1, if read() returns 0
Im unsure, why that i - 1 was there in the first place.
Additionally this PR fixes a surplus whitespace ;)

Test cases demonstrating functionality (if applicable):
Not tested yet, please can someone test this PR?

@michaelortmann michaelortmann changed the title Fix out of bounds Fix (unlikely) out of bounds in ident.mod Oct 8, 2023
@vanosg vanosg added this to the v1.10.1 milestone Sep 3, 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.

2 participants