FFmpeg/libavcodec
Michael Niedermayer 95f0f84dae
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>
2023-02-23 23:32:54 +01:00
..
2023-01-30 20:57:37 +01:00
2023-02-11 21:26:37 +01:00
2022-12-13 08:48:59 -05:00
2023-02-11 21:26:37 +01:00
2023-02-11 21:26:37 +01:00
2023-02-09 15:35:14 +01:00
2023-02-09 15:35:08 +01:00
2023-02-04 13:12:28 +01:00
2023-01-27 19:45:36 +01:00
2023-01-26 20:37:14 +01:00
2023-01-11 12:12:27 +01:00
2023-02-11 21:26:37 +01:00
2023-02-09 15:35:14 +01:00
2023-02-09 15:35:14 +01:00
2023-01-31 09:00:56 +01:00
2023-02-04 13:40:20 +01:00
2023-02-09 15:35:14 +01:00
2023-01-17 12:54:54 +01:00
2023-01-11 12:12:26 +01:00
2022-12-24 23:43:45 +01:00
2022-12-08 17:48:21 +01:00
2023-02-23 23:17:10 +01:00