Skip to content

Prevent illegal array access#159

Merged
Asdow merged 1 commit into
masterfrom
features-screen
May 28, 2023
Merged

Prevent illegal array access#159
Asdow merged 1 commit into
masterfrom
features-screen

Conversation

@Asdow
Copy link
Copy Markdown
Contributor

@Asdow Asdow commented May 28, 2023

When using mousewheel to switch between pages in features screen, the HandleHighLightedText() function sometimes would retain valid bHighlight index, but toggle_box_array[bHighlight] == -1, which is used to access z113FeaturesToggleText[] and would later trigger Assertion in gprintfdirty() with pFontString == NULL

When using mousewheel to switch between pages in features screen, the HandleHighLightedText() function sometimes would retain valid bHighlight index, but toggle_box_array[bHighlight] == -1, which is used to access z113FeaturesToggleText[] and would later trigger Assertion in gprintfdirty() with pFontString == NULL
@Asdow Asdow merged commit 744e9c9 into master May 28, 2023
@Asdow Asdow deleted the features-screen branch May 28, 2023 12:05
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