-
-
Notifications
You must be signed in to change notification settings - Fork 306
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not check maximum image size while merely parsing the file. Do the…
… test when actually decoding the image (#1220)
- Loading branch information
Showing
1 changed file
with
10 additions
and
7 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
29bc4c3
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.
This triggers an overflow with the fuzzing file from https://github.com/strukturag/libheif/actions/runs/9793699446:
Also fails the CIfuzzer jobs, e.g. https://github.com/strukturag/libheif/actions/runs/9793699446/job/27042172552
(wondering why it did not fail the CI fuzzer with the similar corpus file from #1204)
29bc4c3
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.
I can answer this myself: the
file_fuzzer
only runs on*.heic
files in the corpus:libheif/scripts/run-ci.sh
Line 272 in 29bc4c3
29bc4c3
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.
Fix in #1222