[FFmpeg-devel] [PATCH 5/5] avcodec/ralf: use multiply instead of shift to avoid undefined behavior in decode_block()

Michael Niedermayer michael at niedermayer.cc
Wed Nov 20 16:10:35 EET 2019


On Sat, Nov 02, 2019 at 05:06:01PM +0100, Michael Niedermayer wrote:
> Fixes: left shift of negative value -249
> Fixes: 18566/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RALF_fuzzer-5649394561187840
> 
> 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/ralf.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

will apply

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

The real ebay dictionary, page 1
"Used only once"    - "Some unspecified defect prevented a second use"
"In good condition" - "Can be repaird by experienced expert"
"As is" - "You wouldnt want it even if you were payed for it, if you knew ..."
-------------- 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/20191120/708c73d6/attachment.sig>


More information about the ffmpeg-devel mailing list