[FFmpeg-devel] [PATCH 2/2] avcodec/hevc_cabac: Check prefix so as to avoid invalid shifts in coeff_abs_level_remaining_decode()

Michael Niedermayer michael at niedermayer.cc
Sat Jan 27 04:51:00 EET 2018


On Tue, Jan 23, 2018 at 07:44:24PM +0100, Michael Niedermayer wrote:
> On Tue, Jan 16, 2018 at 12:37:28AM +0100, Michael Niedermayer wrote:
> > I suspect that this can be limited tighter, but i failed to find anything
> > in the spec that would confirm that.
> > 
> > Fixes: 4833/clusterfuzz-testcase-minimized-5302840101699584
> > Fixes: runtime error: left shift of 134217730 by 4 places 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/hevc_cabac.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> will apply this in a few days unless someone wants me to wait

applied


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

"Nothing to hide" only works if the folks in power share the values of
you and everyone you know entirely and always will -- Tom Scott

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180127/8f19a794/attachment.sig>


More information about the ffmpeg-devel mailing list