diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-12-03 03:40:55 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-12-03 03:59:13 +0100 |
commit | afcf15b0dbb4b6429be5083e50b296cdca61875e (patch) | |
tree | 788be7d15479a1044fae73604661f550cdfd9885 /libavformat/cutils.c | |
parent | 90da187f1d334422477886a19eca3c1da29c59a7 (diff) | |
download | ffmpeg-afcf15b0dbb4b6429be5083e50b296cdca61875e.tar.gz |
avformat/oggparsespeex: Check frames_per_packet and packet_size
The speex specification does not seem to restrict these values, thus
the limits where choosen so as to avoid multiplicative overflow
Fixes undefined behavior
Fixes: 635422.ogg
Found-by: Matt Wolenetz <wolenetz@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/cutils.c')
0 files changed, 0 insertions, 0 deletions