summaryrefslogtreecommitdiff
path: root/libavcodec/interplayacm.c
Commit message (Collapse)AuthorAge
* avcodec/interplayacm: Fix overflow of last unused valueMichael Niedermayer2019-11-09
| | | | | | | | Fixes: signed integer overflow: -2147450880 - 65535 cannot be represented in type 'int' Fixes: 18393/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_INTERPLAY_ACM_fuzzer-5667520110919680 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/interplayacm: Fix integer overflows in juggle()Michael Niedermayer2019-10-25
| | | | | | | | Fixes: signed integer overflow: -760459023 + -1520918047 cannot be represented in type 'int' Fixes: 17994/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_INTERPLAY_ACM_fuzzer-5647123042795520 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/interplayacm: decoder supports init_cleanup capabilityPaul B Mahol2018-09-08
|
* interplayacm: increase bitstream buffer size by AV_INPUT_BUFFER_PADDING_SIZEAndreas Cadhalpun2016-11-01
| | | | | | | This fixes out-of-bounds reads by the bitstream reader. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* interplayacm: validate number of channelsAndreas Cadhalpun2016-10-30
| | | | | | | | The number of channels is used as divisor in decode_frame, so it must not be zero to avoid SIGFPE crashes. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* interplayacm: check for too large bAndreas Cadhalpun2016-10-30
| | | | | | | This fixes out-of-bounds reads. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* lavc: move 2 more BITSTREAM_READER_LE definitionsClément Bœsch2016-06-29
| | | | | This was mentioned to be in ae753dbd0de448b51f0e0b980c26b94747ec44f5 but actually wasn't.
* avcodec: add Interplay ACM decoderPaul B Mahol2015-11-03
Signed-off-by: Paul B Mahol <onemda@gmail.com>