Skip to content

Correct index rejection for string access.#2392

Merged
cary-ilm merged 1 commit into
AcademySoftwareFoundation:mainfrom
Arcmantis18:arcmantis/fix-2379
Apr 30, 2026
Merged

Correct index rejection for string access.#2392
cary-ilm merged 1 commit into
AcademySoftwareFoundation:mainfrom
Arcmantis18:arcmantis/fix-2379

Conversation

@Arcmantis18
Copy link
Copy Markdown
Contributor

Corrected index verification to reject index matching the string size because this would be out-of bounds as arrays are zero-indexed. Addresses issue #2379

… because this would be out-of bounds as arrays are zero-indexed. Addresses issue AcademySoftwareFoundation#2379

Signed-off-by: Aries Moczar <arcmantis@protulae.com>
Copy link
Copy Markdown
Contributor

@peterhillman peterhillman left a comment

Choose a reason for hiding this comment

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

Yes, I think that fixes the problem.
Thanks for the fix!

@cary-ilm cary-ilm merged commit dddb282 into AcademySoftwareFoundation:main Apr 30, 2026
50 checks passed
@Arcmantis18 Arcmantis18 deleted the arcmantis/fix-2379 branch May 1, 2026 07:31
cary-ilm pushed a commit that referenced this pull request May 21, 2026
… because this would be out-of bounds as arrays are zero-indexed. Addresses issue #2379 (#2392)

Signed-off-by: Aries Moczar <arcmantis@protulae.com>
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.

3 participants