[FFmpeg-devel] [PATCH 2/2] avcodec/h264_parser: fix nalsize parser

Michael Niedermayer michael at niedermayer.cc
Tue Aug 17 00:19:54 EEST 2021


On Sat, Aug 14, 2021 at 05:08:00PM +0200, Michael Niedermayer wrote:
> Fixes: left shift of 16711968 by 8 places cannot be represented in type 'int'
> Fixes: 36601/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_H264_fuzzer-6581933285965824
> 
> 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/h264_parser.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

will apply

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

Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- 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/20210816/cd99f28d/attachment.sig>


More information about the ffmpeg-devel mailing list