[FFmpeg-devel] [PATCH 2/5] avcodec/cbs_av1: Check leb128 values read

Michael Niedermayer michael at niedermayer.cc
Sat Jan 18 19:25:07 EET 2020


On Fri, Dec 13, 2019 at 01:28:07AM +0100, Michael Niedermayer wrote:
> "It is a requirement of bitstream conformance that the value returned from the leb128 parsing process is less than or equal
> to (1 << 32) - 1."
> 
> Fixes: assertion failure
> Fixes: 19293/clusterfuzz-testcase-minimized-ffmpeg_BSF_TRACE_HEADERS_fuzzer-5749508361420800
> 
> Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  libavcodec/cbs_av1.c | 3 +++
>  1 file changed, 3 insertions(+)

will apply

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200118/26d0f2b0/attachment.sig>


More information about the ffmpeg-devel mailing list