avcodec/hevc_ps: Check delta_pocs in ff_hevc_decode_short_term_rps()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 20 Aug 2017 22:18:48 +0000 (00:18 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 9 Sep 2017 23:33:28 +0000 (01:33 +0200)
commiteea01de3ff157180d04782cea9a09072408d723a
tree20e9446cf1a752256ebcd70fe4890f62ba487d1e
parentdeca5e7349139abb7c0d3970833ffd989606ca26
avcodec/hevc_ps: Check delta_pocs in ff_hevc_decode_short_term_rps()

Fixes: integer overflow
Fixes: 2893/clusterfuzz-testcase-minimized-5809330567774208

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 2b44dcbc44e99daf9515753e9fd4c2e1ea53a2fa)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/hevc_ps.c