avcodec/hevc_cabac: Fix integer overflow in ff_hevc_cu_qp_delta_abs()
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 15 Dec 2017 17:17:13 +0000 (18:17 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 31 Jan 2018 21:56:14 +0000 (22:56 +0100)
commit4eb24ae083bc1659804ce66ba75ecbd71dd33911
tree43bb9cf6543cd79010655b6e3fab01d1612ed20b
parentf75e2cb0594624859970244b1bae12a5b2035068
avcodec/hevc_cabac: Fix integer overflow in ff_hevc_cu_qp_delta_abs()

Fixes: signed integer overflow: 2147483647 + 1073741824 cannot be represented in type 'int'
Fixes: 4555/clusterfuzz-testcase-minimized-4505532481142784

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 0ee143558d55b590774dba69cff5a16eda089a4d)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/hevc_cabac.c