avcodec/h264: Increase field_poc to 64bit in ff_h264_init_poc() to detect overflows
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 17 Feb 2018 03:20:54 +0000 (04:20 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 17 Feb 2018 19:31:39 +0000 (20:31 +0100)
commit1be49cee34eb588d70c2bf4c46dc23539fd71b53
tree88f6cccdf660923587352d26620d1c9795f42018
parent01370b31aced784593f2bc0836f4ba6fd8e7f6b3
avcodec/h264: Increase field_poc to 64bit in ff_h264_init_poc() to detect overflows

Fixes: Integer overflow
Fixes: 5746/clusterfuzz-testcase-minimized-6270097623613440

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/h264_parse.c
libavcodec/h264_parser.c
libavcodec/h264_slice.c