[FFmpeg-devel] [PATCH] avcodec/dxtory: Check slice sizes before allocating image

Michael Niedermayer michael at niedermayer.cc
Mon Mar 25 16:00:11 EET 2019


On Sat, Mar 16, 2019 at 05:32:11PM +0100, Michael Niedermayer wrote:
> Fixes: Timeout (26sec -> 2sec)
> Fixes: 13612/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DXTORY_fuzzer-5676845977042944
> 
> 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/dxtory.c | 10 +++++++++-
>  1 file changed, 9 insertions(+), 1 deletion(-)

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/20190325/809e90a1/attachment.sig>


More information about the ffmpeg-devel mailing list