diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2023-01-12 22:05:07 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2023-04-21 01:55:16 +0200 |
commit | fbe41b907aa35bf45b01c31ed63ad639b3e54a9a (patch) | |
tree | e3958950911804768f15349f364a9206dde55394 /libavcodec/mips/h264dsp_init_mips.c | |
parent | 83e73df00e8230a385938123624c326388900ac8 (diff) | |
download | ffmpeg-fbe41b907aa35bf45b01c31ed63ad639b3e54a9a.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 'libavcodec/mips/h264dsp_init_mips.c')
0 files changed, 0 insertions, 0 deletions