diff options
author | Andriy Gelman <andriy.gelman@gmail.com> | 2019-12-06 11:03:02 -0500 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-12-06 15:05:56 -0300 |
commit | 02a83e26de6a58523ee55cfebc1312e7a4e42724 (patch) | |
tree | 3745b51f3ebbbc2c7a1b7718a5de030660a06a21 /libavformat | |
parent | 79d907774d59119dcfd1c04dae97b52890aec3ec (diff) | |
download | ffmpeg-02a83e26de6a58523ee55cfebc1312e7a4e42724.tar.gz |
lavc/cbs_h2645: Fix incorrect max size of nalu unit
In the worst case the startcode prefix has 4 bytes.
This fixes a trigerred assertion:
Assertion dp <= max_size failed at libavcodec/cbs_h2645.c:1451
Found-by:libFuzzer
Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
Diffstat (limited to 'libavformat')
0 files changed, 0 insertions, 0 deletions