-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix use-after-free in randomizer PlaceItems
FilePtrStream's destructor seeks the FILE* around if needed, which is a use-after-free if it has already been fclose'd. Put the streams in their own scope so they're cleaned up before fclose. Also fix quest.txt never being fclose'd.
- Loading branch information
1 parent
09aedae
commit eca700b
Showing
1 changed file
with
19 additions
and
17 deletions.
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