diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-01-15 23:46:44 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-04-13 00:35:15 +0200 |
commit | aec30d0da9dc66de0d05b0c9d65022611bbf3f9b (patch) | |
tree | cd88e78d8244f491b19a33af92ed8ef17f24973a /libavdevice/dshow_filter.c | |
parent | dbe356a00974632a18612c7a395366cee4c49118 (diff) | |
download | ffmpeg-aec30d0da9dc66de0d05b0c9d65022611bbf3f9b.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 'libavdevice/dshow_filter.c')
0 files changed, 0 insertions, 0 deletions