[FFmpeg-cvslog] avcodec/mpegaudiodec_template: Fix multiple runtime error: signed integer overflow
Michael Niedermayer
git at videolan.org
Wed Feb 22 23:30:28 EET 2017
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Wed Feb 22 21:28:08 2017 +0100| [5a8fec1b33f2c9da89fe565516fff24b09988dc9] | committer: Michael Niedermayer
avcodec/mpegaudiodec_template: Fix multiple runtime error: signed integer overflow
Fixes: 648/clusterfuzz-testcase-5337961317007360
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5a8fec1b33f2c9da89fe565516fff24b09988dc9
---
libavcodec/mpegaudiodec_template.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/mpegaudiodec_template.c b/libavcodec/mpegaudiodec_template.c
index 2fc0156..33f2a14 100644
--- a/libavcodec/mpegaudiodec_template.c
+++ b/libavcodec/mpegaudiodec_template.c
@@ -459,7 +459,7 @@ static av_cold int decode_init(AVCodecContext * avctx)
cases. */
static void imdct12(INTFLOAT *out, INTFLOAT *in)
{
- INTFLOAT in0, in1, in2, in3, in4, in5, t1, t2;
+ SUINTFLOAT in0, in1, in2, in3, in4, in5, t1, t2;
in0 = in[0*3];
in1 = in[1*3] + in[0*3];
More information about the ffmpeg-cvslog
mailing list