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
Add sanity checks to all LCF data structure access #1259
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
6a98d15
Add sanity checks to all LCF data structure access to reduce crashes …
Ghabry 67bbe04
Reword some interpreter warnings. Handle callstack limit.
Ghabry fc41741
Fix sanity check mistakes. Add additional checks and comments.
Ghabry bbac6fa
Change reader_util include and improve warnings
Ghabry 4dee0a6
Validate actors returned from GetActor.
Ghabry 01d4515
Adopt sanity checks to latest BattleCommand changes
Ghabry cf5379f
Use zero-based index for Game_Actors to be consistent with the sanity…
Ghabry d7869be
Fix style and code problems in sanity check.
Ghabry d51ce72
Add exception in the sanity check and special handling for Level 0 wh…
Ghabry 8cd480c
Fix a crash caused by the RPG2k3 1.12 picture code when F12 is presse…
Ghabry b10fc91
Remove 2nd state sanity check. Due to how the state array is designed…
Ghabry bb06cb4
Fix incorrect index usage in Window ShopBuy
Ghabry 7be4595
Fix crash that happens when the last BGM failed to load and the Playe…
Ghabry 63c5112
Battle system: Fix out-of-bounds read when a battle charset is used a…
Ghabry 69e2bf7
Fix regression that prevented deletion of the items when a new game s…
Ghabry File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other places use quotes for liblcf includes. (1)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed all your notes except this one because it already uses quotes