[FFmpeg-devel] [PATCH 2/5] avcodec/ituh263dec: Check for the bitstream end in ff_h263_decode_mb()
Michael Niedermayer
michael at niedermayer.cc
Sat Feb 25 23:19:48 EET 2017
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);
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
There will always be a question for which you do not know the correct answer.
-------------- 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/20170225/bc870eac/attachment.sig>
More information about the ffmpeg-devel
mailing list