[FFmpeg-devel] [PATCH 1/3] avformat/lafdec: Check for EOF in header reading

Michael Niedermayer michael at niedermayer.cc
Fri Dec 23 01:27:07 EET 2022


On Sun, Nov 13, 2022 at 12:43:59AM +0100, Michael Niedermayer wrote:
> Fixes: OOM testcase
> Fixes: 51527/clusterfuzz-testcase-minimized-ffmpeg_dem_LAF_fuzzer-5453663505612800
> 
> OOM can still happen after this as an arbitrary sized block is allocated and read
> this would require a redesign or some limit on the sample rate.
> 
> Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  libavformat/lafdec.c | 3 +++
>  1 file changed, 3 insertions(+)

will apply

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

No great genius has ever existed without some touch of madness. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20221223/c199ba86/attachment.sig>


More information about the ffmpeg-devel mailing list