avcodec/pafvideo: Check allocated frame size
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 4 Feb 2018 01:14:49 +0000 (02:14 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 11 Feb 2018 01:49:15 +0000 (02:49 +0100)
commit66acb630286cf1bf03bfbdab6c7c784ff20bde61
tree648b269b195f30d43602a845d4501678e7e19953
parent0fb33a82890753233225c61863fff1fcc9d970d4
avcodec/pafvideo: Check allocated frame size

Fixes: OOM
Fixes: 5549/clusterfuzz-testcase-minimized-5390553567985664

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