[FFmpeg-devel] [PATCH 2/2] avcodec/jpeg2000: Dynamically allocate codeblock data

Michael Niedermayer michael at niedermayer.cc
Wed Nov 22 04:50:21 EET 2017


On Sat, Nov 18, 2017 at 01:33:18AM +0100, Michael Niedermayer wrote:
> Fixes: OOM
> Fixes: 3541/clusterfuzz-testcase-minimized-6469958596820992
> 
> Adds support for decoding codeblock data larger than 8kb
> Reduces decoder memory consumption
> 
> 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/j2kenc.c      |  8 ++++++--
>  libavcodec/jpeg2000.c    | 12 ++++++++++--
>  libavcodec/jpeg2000.h    |  4 ++--
>  libavcodec/jpeg2000dec.c | 22 +++++++++++++++++++---
>  4 files changed, 37 insertions(+), 9 deletions(-)

applied

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

Does the universe only have a finite lifespan? No, its going to go on
forever, its just that you wont like living in it. -- Hiranya Peiri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171122/f9a436b7/attachment.sig>


More information about the ffmpeg-devel mailing list