[FFmpeg-devel] [PATCH] avcodec/cbs: use av_fast_realloc() in cbs_insert_unit()
Michael Niedermayer
michael at niedermayer.cc
Sat May 2 19:39:39 EEST 2020
On Sat, Apr 11, 2020 at 11:01:41AM -0300, James Almer wrote:
> Fixes: Timeout
> Fixes: 20791/clusterfuzz-testcase-minimized-ffmpeg_BSF_AV1_FRAME_SPLIT_fuzzer-5659537719951360
> Fixes: 21214/clusterfuzz-testcase-minimized-ffmpeg_BSF_MPEG2_METADATA_fuzzer-5165560875974656
> Fixes: 21247/clusterfuzz-testcase-minimized-ffmpeg_BSF_H264_METADATA_fuzzer-5715175257931776
>
> Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
> This can be ported to av_fast_realloc_array() once that's committed.
>
> libavcodec/cbs.c | 37 ++++++++++++++++---------------------
> libavcodec/cbs.h | 7 +++++++
> 2 files changed, 23 insertions(+), 21 deletions(-)
Not sure we decided on which fix to push, but something
should be applied
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
When you are offended at any man's fault, turn to yourself and study your
own failings. Then you will forget your anger. -- Epictetus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200502/84618426/attachment.sig>
More information about the ffmpeg-devel
mailing list