diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-01-15 23:46:44 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-01-31 23:47:15 +0100 |
commit | c740f585a183abccd0ffc9cce67989b4bb0d08b9 (patch) | |
tree | 6a0bf65788ed4dfbe9c6302e7627fb8f5c154d50 /libavcodec/libdcadec.c | |
parent | c1f7b2b6e18acf0b24fcac32027e5ca45e3b5945 (diff) | |
download | ffmpeg-c740f585a183abccd0ffc9cce67989b4bb0d08b9.tar.gz |
avcodec/hevc_cabac: Check prefix so as to avoid invalid shifts in coeff_abs_level_remaining_decode()
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@niedermayer.cc>
(cherry picked from commit a026a3efaeb9c2026668dccbbda339a21ab3206b)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/libdcadec.c')
0 files changed, 0 insertions, 0 deletions