diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-12-03 03:40:55 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-12-06 00:07:50 +0100 |
commit | a0715c1e897f148022bd3dc033465595d40fdb4c (patch) | |
tree | e158ac9ee8ac49ef18b50093d6237775f7f5b26f /libavcodec/jpeg2000.c | |
parent | a0ed412f38f5b65f530528a7969ca3a9d3269be8 (diff) | |
download | ffmpeg-a0715c1e897f148022bd3dc033465595d40fdb4c.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 'libavcodec/jpeg2000.c')
0 files changed, 0 insertions, 0 deletions