[FFmpeg-devel] [PATCH] avcodec/pixlet: Simplify nbits computation

Michael Niedermayer michael at niedermayer.cc
Fri Jul 28 00:47:52 EEST 2017


On Thu, Jul 27, 2017 at 03:44:46PM +0200, Paul B Mahol wrote:
> On 7/27/17, Michael Niedermayer <michael at niedermayer.cc> wrote:
> > Fixes multiple integer overflows
> > Fixes: runtime error: signed integer overflow: 1 + 2147483647 cannot be
> > represented in type 'int'
> >
> > 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/pixlet.c | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> LGTM

applied

thx

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

If you fake or manipulate statistics in a paper in physics you will never
get a job again.
If you fake or manipulate statistics in a paper in medicin you will get
a job for life at the pharma industry.
-------------- 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/20170727/e6ff2c06/attachment.sig>


More information about the ffmpeg-devel mailing list