diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2023-01-12 22:05:07 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2023-03-16 14:48:39 +0100 |
commit | fbe44d7a82a453141ebf165937f8d6ad5aa0877f (patch) | |
tree | 80f1d1b3817016b1e9a82adf59dca9116f9e0dc5 /libavutil | |
parent | e1b1ead9e3563a1d460a62290f0da904df4f70b5 (diff) | |
download | ffmpeg-fbe44d7a82a453141ebf165937f8d6ad5aa0877f.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')
0 files changed, 0 insertions, 0 deletions