aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/huffman.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2023-01-12 22:05:07 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2023-06-04 20:18:18 +0200
commit2ca69aa42da16887488e6f903f3af2e041ecfa5b (patch)
tree42545d15be5009868af5675471c1cc0e7f8dc10d /libavcodec/huffman.c
parenta2da41e03a445cbdcb89836f426486299c8ea0ec (diff)
downloadffmpeg-2ca69aa42da16887488e6f903f3af2e041ecfa5b.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/huffman.c')
0 files changed, 0 insertions, 0 deletions