[FFmpeg-devel] [PATCH 1/5] avformat/mpegts: Limit iterations of get_packet_size()

Michael Niedermayer michael at niedermayer.cc
Sun Nov 29 17:10:39 EET 2020


On Fri, Oct 23, 2020 at 12:41:08AM +0200, Michael Niedermayer wrote:
> This is a pathological case where the fuzzer provides only 2 bytes per iteration.
> 
> Fixes: Timeout (>30 -> 0.9sec)
> Fixes: 26488/clusterfuzz-testcase-minimized-ffmpeg_dem_MPEGTS_fuzzer-5911031077142528
> 
> Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  libavformat/mpegts.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

will apply patchset

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

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20201129/9ea76bb5/attachment.sig>


More information about the ffmpeg-devel mailing list