[FFmpeg-devel] [PATCH] avcodec/libfdk-aacdec: Correct buffer_size parameter

Michael Niedermayer michael at niedermayer.cc
Sun May 28 04:08:30 EEST 2017

On Thu, May 25, 2017 at 03:21:50AM +0200, Michael Niedermayer wrote:
> the timeDataSize argument to aacDecoder_DecodeFrame() seems undocumented and until
> 2016 04 (203e3f28fbebec7011342017fafc2a0bda0ce530) unused.
> after that commit libfdk-aacdec interprets it as size in sample units and memsets that on error.
> FFmpeg as well as others (like GStreamer) did interpret it as size in bytes
> Fixes: 1442/clusterfuzz-testcase-minimized-4540199973421056 (This requires recent libfdk to reproduce)
> 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/libfdk-aacdec.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- 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/20170528/d2ebc317/attachment.sig>

More information about the ffmpeg-devel mailing list