diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-05-17 13:58:46 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-07-08 19:45:46 +0200 |
commit | 99b4524bfb45f5c6e0672229f2da1a2b93622f15 (patch) | |
tree | 0913020c06b4ffb304eb026144b5af84940d48d9 /libavcodec/jpeglsenc.c | |
parent | 2a9f93d8b0e6c3d4c38ca3b3ff955b283519df86 (diff) | |
download | ffmpeg-99b4524bfb45f5c6e0672229f2da1a2b93622f15.tar.gz |
avcodec/mlpdec: Only change noise_type if the related fields are valid
Fixes: inconsistency
Fixes:runtime error: index 8 out of bounds for type 'int32_t [8]'
Fixes: 6686/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TRUEHD_fuzzer-5191383498358784
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 63c4a4b0d692bc86142790276358ba35129f2290)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/jpeglsenc.c')
0 files changed, 0 insertions, 0 deletions