diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2023-07-25 02:13:10 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2023-07-25 23:17:29 +0200 |
commit | 0ba719f726632d73592311615087a0d64aa2fb60 (patch) | |
tree | 636b0c8a00f837b7dd604a177f17209a95c7b8f3 /libavfilter/stack_internal.c | |
parent | ac3e6b74bdd6959ce4411e78161b2f06d0926c43 (diff) | |
download | ffmpeg-0ba719f726632d73592311615087a0d64aa2fb60.tar.gz |
avcodec/cbs_h2645: Avoid an unchecked bytesteram read
The unchecked read caused the 2nd subsequent tell call to move backward resulting
in a negative length
Fixes: assertion failure
Fixes: 60276/clusterfuzz-testcase-minimized-ffmpeg_BSF_TRACE_HEADERS_fuzzer-5434126636023808
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavfilter/stack_internal.c')
0 files changed, 0 insertions, 0 deletions