Skip to content

prevent infinite recursion when an array note looks like a pointer and has a plus in the summary - #1373

Merged
Jamiras merged 1 commit into
RetroAchievements:masterfrom
Jamiras:bugfix/array_note_looks_like_pointer
Nov 10, 2026
Merged

Jamiras merged 1 commit into
RetroAchievements:masterfrom
Jamiras:bugfix/array_note_looks_like_pointer

Conversation

@Jamiras

@Jamiras Jamiras commented Nov 9, 2026

Copy link
Copy Markdown
Member

https://discord.com/channels/310192285306454017/1552830115837116486/1569470994194898945

The +N: notation activated the logic to test if the note was for a pointer. The + in the summary caused it to continue doing so recursively, leading to a stack overflow, and a crash.

Solution: Don't recurse on +, require full +N:.

@Jamiras Jamiras added this to the 1.5.0 milestone Nov 9, 2026
@Jamiras
Jamiras merged commit 6302604 into RetroAchievements:master Nov 10, 2026
6 checks passed
@Jamiras
Jamiras deleted the bugfix/array_note_looks_like_pointer branch November 10, 2026 15:29
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.

1 participant