[FFmpeg-devel] [PATCH] avcodec/cpia: Check input size also against linesizes and EOL

Michael Niedermayer michael at niedermayer.cc
Sun May 19 18:48:13 EEST 2019


On Sun, May 19, 2019 at 05:42:04PM +0200, Michael Niedermayer wrote:
> Fixes: Timeout (14sec -> 29ms)
> Fixes: 14733/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CPIA_fuzzer-5707022445576192
> 
> 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/cpia.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

This is untested against valid streams, due to lack of such input 

Thanks

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

Modern terrorism, a quick summary: Need oil, start war with country that
has oil, kill hundread thousand in war. Let country fall into chaos,
be surprised about raise of fundamantalists. Drop more bombs, kill more
people, be surprised about them taking revenge and drop even more bombs
and strip your own citizens of their rights and freedoms. to be continued
-------------- 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/20190519/c367863f/attachment.sig>


More information about the ffmpeg-devel mailing list