[FFmpeg-devel] [PATCH] avcodec/proresenc_anatoliy: Fix invalid left shift of negative number

Michael Niedermayer michael at niedermayer.cc
Thu Jan 9 00:36:33 EET 2020


On Wed, Jan 08, 2020 at 07:29:13PM +0100, Andreas Rheinhardt wrote:
> This fixes ticket #7997 as well as the vsynth*-prores_# FATE-tests
> (where * ranges over { 1, 2, 3, _lena } and # over { , _int, _444,
> _444_int }).
> 
> (Given that prev_dc is in the range -0xC000..0x3FFF, no overflow can
> happen upon multiplication with 2.)
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
> Actually, #7997 ran into the same issue as #7979 and so it is no longer
> reproducible with the given commandline since aef24efb (which fixed
> #7979). But it is still reproducible with e.g. the null muxer.
> 
>  libavcodec/proresenc_anatoliy.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

will apply

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

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- 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/20200108/85492041/attachment.sig>


More information about the ffmpeg-devel mailing list