diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-05-17 13:40:38 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-07-08 19:45:46 +0200 |
commit | 2a9f93d8b0e6c3d4c38ca3b3ff955b283519df86 (patch) | |
tree | 1a31eaca0fa32d0c84384251204dc3d759f0a8a0 /libavformat/rtpenc_latm.c | |
parent | c3ff11cc08dd540f0da7998d69959812e638a9f8 (diff) | |
download | ffmpeg-2a9f93d8b0e6c3d4c38ca3b3ff955b283519df86.tar.gz |
indeo4: Decode all or nothing of a band header.
This avoids inconsistent value combinations.
Alternatively it would be possible to add more checks and careful use of
temporary variables, but my try of this quickly seemed to become
a rather large change.
The disadvantage of this, is that the struct is copied back and forth.
Fixes: index 6 out of bounds for type 'const uint16_t [5][16]'
Fixes: 6557/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_INDEO4_fuzzer-4787296550256640
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 10c8521265da86118597336c5589e26de377a374)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/rtpenc_latm.c')
0 files changed, 0 insertions, 0 deletions