[FFmpeg-devel] [PATCH] avformat/hls: Limit start_seq_no to one bit less

Michael Niedermayer michael at niedermayer.cc
Wed Jun 22 03:01:12 EEST 2022


On Fri, Jun 17, 2022 at 01:15:22AM +0200, Michael Niedermayer wrote:
> This avoids overflow checks on additions with 32bit numbers
> 
> Fixes: signed integer overflow: 9223372036854775806 + 2 cannot be represented in type 'long'
> Fixes: 44012/clusterfuzz-testcase-minimized-ffmpeg_dem_HLS_fuzzer-4747770734444544
> 
> 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/hls.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

will apply

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

Frequently ignored answer#1 FFmpeg bugs should be sent to our bugtracker. User
questions about the command line tools should be sent to the ffmpeg-user ML.
And questions about how to use libav* should be sent to the libav-user ML.
-------------- 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/20220622/0618bb93/attachment.sig>


More information about the ffmpeg-devel mailing list