[FFmpeg-devel] [PATCH 6/7] avcodec/get_bits: dont add a null to a 0

Anton Khirnov anton at khirnov.net
Thu Sep 26 09:09:58 EEST 2024


Quoting Michael Niedermayer (2024-09-23 23:32:48)
> Fixes: undefined behavior
> Fixes: 71747/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HEVC_fuzzer-5427736120721408

Seems like a bug for a decoder to call init_get_bits() with a NULL
buffer.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list