diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-01-23 00:16:02 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-01-31 17:28:23 +0100 |
commit | 0f1332309aff3924fcd740cf36c61f1f9e6f026e (patch) | |
tree | 93cf266484ca6b0a6e141060347b0ad16796867e /libavcodec/aliaspixenc.c | |
parent | f5c9753bfdab20ad54fbdbbe85b52c82d0bb3c4b (diff) | |
download | ffmpeg-0f1332309aff3924fcd740cf36c61f1f9e6f026e.tar.gz |
avcodec/rasc: Check uncompressed dlta size
We assume that if the compressed size is bigger than if each byte is encoded in a single raw packet
that the data is invalid.
Fixes: Out of memory
Fixes: 12208/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RASC_fuzzer-5648916473708544
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit f4079d5174c20eddbc99eef6ebe98d411f8014c5)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/aliaspixenc.c')
0 files changed, 0 insertions, 0 deletions