[FFmpeg-devel] [PATCH 2/5] avcodec/ituh263dec: Check for the bitstream end in ff_h263_decode_mb()

Michael Niedermayer michael at niedermayer.cc
Sun Feb 26 17:33:06 EET 2017


On Sun, Feb 26, 2017 at 10:06:18AM +0100, Paul B Mahol wrote:
> On 2/25/17, Michael Niedermayer <michael at niedermayer.cc> wrote:
> > On Sat, Feb 25, 2017 at 10:03:58PM +0100, Paul B Mahol wrote:
> >> On 2/25/17, Michael Niedermayer <michael at niedermayer.cc> wrote:
> >> > Fixes invalid shift
> >> >
> >> > Fixes: 670/clusterfuzz-testcase-4852021066727424
> >> >
> >> > Found-by: continuous fuzzing process
> >> > https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
> >> > Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> >> > ---
> >> >  libavcodec/ituh263dec.c | 3 +++
> >> >  1 file changed, 3 insertions(+)
> >> >
> >>
> >> How this fixes invalid shift? Someone could manually add bunch of zero
> >
> > theres a
> >
> > v >>= 16 - get_bits_left(&s->gb);
> 
> ok then

applied

thx

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

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- 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/20170226/602c0788/attachment.sig>


More information about the ffmpeg-devel mailing list