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>
Thu, 24 Aug 2017 09:29:40 +0000 (11:29 +0200)
commit2b44dcbc44e99daf9515753e9fd4c2e1ea53a2fa
treef7ad176a83d88a0a5e0c51a1180b0db94cff45a4
parent37e8edc9f51545ad91cbdf7dbe796af93f011abe
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>
libavcodec/hevc_ps.c