[FFmpeg-devel] [PATCH 3/3] avcodec/agm: Check that there is available input in read_code()

Michael Niedermayer michael at niedermayer.cc
Wed Apr 24 13:39:29 EEST 2019


On Sun, Apr 07, 2019 at 01:21:14AM +0200, Michael Niedermayer wrote:
> Fixes: Timeout (46sec -> 7ms)
> Fixes: 14030/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AGM_fuzzer-5721258760601600
> 
> 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/agm.c | 3 +++
>  1 file changed, 3 insertions(+)

will apply

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

Rewriting code that is poorly written but fully understood is good.
Rewriting code that one doesnt understand is a sign that one is less smart
then the original author, trying to rewrite it will not make it better.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190424/e6a37ffc/attachment.sig>


More information about the ffmpeg-devel mailing list