-
Notifications
You must be signed in to change notification settings - Fork 603
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When writing a zfile, anything that causes open() to fail will leave m_tilebuffer at 0 size. Subsequent calls to write_tiles, and also to close (which cleans up unwritten parts of the buffer at the end) did not check for this condition and would access out of bounds memory. While I was in there, I converted the zfile.cpp error messages to the new formatting convention. Fixes TALOS-2022-1657
- Loading branch information
Showing
1 changed file
with
40 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