FFmpeg/libavformat
Michael Niedermayer a0715c1e89 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>
2016-12-06 00:07:50 +01:00
..
2016-07-03 04:37:48 +02:00
2016-08-22 22:03:37 +02:00
2016-10-17 20:41:26 +02:00
2016-03-13 16:06:09 +01:00
2016-10-27 17:24:04 +02:00
2016-06-19 18:51:39 +02:00
2016-06-19 18:51:39 +02:00
2016-07-17 13:10:27 -03:00
2016-10-21 19:41:09 +02:00
2016-11-25 22:21:14 +01:00
2016-08-22 22:03:37 +02:00
2016-05-04 18:16:21 +02:00
2016-10-09 20:09:00 +02:00
2016-05-04 18:16:21 +02:00
2016-05-19 17:02:06 +02:00
2016-07-15 10:25:02 +02:00
2016-10-24 03:53:21 -05:00
2016-09-10 16:40:47 -07:00
2016-08-22 22:07:48 +02:00
2016-11-17 23:15:07 +01:00
2016-05-21 18:49:45 +02:00
2016-10-24 03:53:21 -05:00
2016-10-09 20:09:00 +02:00
2016-07-19 18:41:19 +02:00
2016-07-17 13:10:27 -03:00
2016-11-25 22:21:44 +01:00
2016-10-20 19:54:54 +02:00
2016-11-25 22:21:48 +01:00
2016-07-17 13:10:27 -03:00
2016-06-25 15:53:11 -05:00
2016-05-03 15:45:10 +02:00
2016-10-09 20:09:00 +02:00
2016-10-21 15:16:44 +11:00
2016-08-04 16:25:40 -03:00