[FFmpeg-devel] [PATCH] avcodec/mjpegdec: Fixes runtime error: signed integer overflow: -24543 * 2031616 cannot be represented in type 'int'

Michael Niedermayer michael at niedermayer.cc
Fri Apr 7 13:47:16 EEST 2017


On Fri, Apr 07, 2017 at 06:26:05AM -0400, Ronald S. Bultje wrote:
> Hi,
> 
> On Fri, Apr 7, 2017 at 6:22 AM, Michael Niedermayer <michael at niedermayer.cc>
> wrote:
> 
> > if you say these are not bugs by definition even though its
> > quite obvious they are bugs then whatever you use as definition must
> > be flawed. Or you misunderstood what i wrote.
> >
> 
> That's hypocritical.

in what way ?


> 
> Id like to apply the patch unless you or someone else objects.
> 
> 
> I really don't like this approach. I'd like you to try to find something
> more sensible that protects developer machines from bugs also.

i suggested to decouple SUINT from the #ifdef DEBUG, which fixes
exactly that possibility (and noone seemed to care)



[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

He who knows, does not speak. He who speaks, does not know. -- Lao Tsu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170407/b88c7515/attachment.sig>


More information about the ffmpeg-devel mailing list