forked from AcademySoftwareFoundation/openexr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Address some initial fuzz reports after core rewrite merge (AcademySo…
…ftwareFoundation#1821) * Add validation that the types of the attributes are correct, not just that they exist Signed-off-by: Kimball Thurston <kdt3rd@gmail.com> * use constructor semantics to zero init the context pointer, avoid one memory sanitizer warning Signed-off-by: Kimball Thurston <kdt3rd@gmail.com> * to avoid UB with streams, keep attr sizes with int32 size Signed-off-by: Kimball Thurston <kdt3rd@gmail.com> * handle an empty buffer cleanly Signed-off-by: Kimball Thurston <kdt3rd@gmail.com> --------- Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
- Loading branch information
Showing
4 changed files
with
108 additions
and
20 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
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
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