-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mvcdec: Heap overflow in 'ih264d_parse_fgc'
Although the fag end of both the NALU and the bitstream buffer is being parsed, not all FGC SEI symbols would have been decoded semantically. This commit detects and returns an error in this situation. Bug = ossfuzz:65418 Test: mvc_dec_fuzzer
- Loading branch information
1 parent
28727ba
commit d3d49af
Showing
1 changed file
with
18 additions
and
0 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
each one is not 32 bits. so this is wrong.
please move this inside the loop and check for 32 bits in each iteration.
these two are different because in the second approach we are expecting 32 bits are remaining for the next iteration and if the SEV consumes let us say 2 bits in one iteration, we will only look for 32 for next iteration. In the first approach we would have looked at 64 bits.
also please run compliance tests once this change is done to ensure nothing is broken