avcodec/avcodec: Limit the number of side data elements per packet
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 11 May 2017 11:01:36 +0000 (13:01 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 20 May 2017 01:41:33 +0000 (03:41 +0200)
commitdccd62dc89589b2c67260864bc0e6cc7a0ad0601
tree059202b7dae57c0359f99c618d35db737c2250bf
parent4ea880c55ea4326ea98f64f56c9be26853dded39
avcodec/avcodec: Limit the number of side data elements per packet

Fixes: 1293/clusterfuzz-testcase-minimized-6054752074858496

See: [FFmpeg-devel] [PATCH] avcodec/avcodec: Limit the number of side data elements per packet

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit d5711cb89121268e8d78ebe8563a68e67a236cbb)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/avcodec.h
libavcodec/avpacket.c