diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-12-03 03:40:55 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-12-03 04:10:31 +0100 |
commit | f202fefdb0ac86eb2b0e88f11bb63b7f9d2e2bc1 (patch) | |
tree | 51f48cd4bb2b56397d1cfdaafc8f3a1082594dab /libavformat/oma.c | |
parent | 3af916db3705593a4408bb25671a1ecf5dec813f (diff) | |
download | ffmpeg-f202fefdb0ac86eb2b0e88f11bb63b7f9d2e2bc1.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>
(cherry picked from commit afcf15b0dbb4b6429be5083e50b296cdca61875e)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/oma.c')
0 files changed, 0 insertions, 0 deletions