OSDN Git Service

avcodec/h264: Check weight values to be within the specs limits.
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 21 Mar 2017 22:46:14 +0000 (23:46 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 7 Apr 2017 13:33:17 +0000 (15:33 +0200)
commit08117a40157464f8a9dcc2df393fa5fe299c1e98
tree0ac5d2cf186cafd222262db35e9701d07b7bd1ff
parent9c7ee37490d21350ab1a2e07069284daf1943e52
avcodec/h264: Check weight values to be within the specs limits.

Fixes: integer overflows
Fixes: 911/clusterfuzz-testcase-5415105606975488

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/h264_parse.c
libavcodec/h264_slice.c