diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2023-01-12 22:05:07 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2023-03-27 13:37:21 +0200 |
commit | bee5541a4430875a1707fa7fe3aa9d9c9beaad7b (patch) | |
tree | eb5f90d44aef47b70ee8ca1c742a6fe2d34cbcc6 /libavutil/attributes.h | |
parent | 1c9136ddd76ba2dd6c65657c9a497a464aad0844 (diff) | |
download | ffmpeg-bee5541a4430875a1707fa7fe3aa9d9c9beaad7b.tar.gz |
avcodec/xpmdec: Check size before allocation to avoid truncation
Fixes:OOM
Fixes:out of array access (no testcase)
Fixes: 48567/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_XPM_fuzzer-6573323838685184
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 95f0f84dae4f040d91f1e60dc5438612c58e8906)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil/attributes.h')
0 files changed, 0 insertions, 0 deletions