Vincent Penquerc'h
db7934233f
resindvd: guard against overflow in audio subtitle streams
...
Turns out there was the same issue as with subtitles.
There is space for a single audio stream, but up to 255
may be used based on a uint8_t value in a struct, which may
or may not be read from the (untrusted) data.
A comment in ifo_types.h says this value is either 0 or 1, so
we can ensure this here without drawbacks.
Coverity 1139585
2014-04-08 14:24:31 +01:00
..
2013-04-15 15:59:22 +02:00
2014-03-05 20:41:20 +01:00
2013-04-15 15:59:22 +02:00
2014-04-08 09:55:15 +02:00
2013-04-15 15:59:22 +02:00
2014-02-11 21:03:18 +01:00
2013-12-05 11:50:17 +01:00
2014-04-03 11:48:07 +02:00
2013-04-15 15:59:22 +02:00
2014-02-08 18:58:38 +01:00
2014-04-08 12:41:16 +01:00
2014-03-28 11:54:45 +00:00
2013-07-29 09:42:12 +02:00
2013-04-15 15:59:22 +02:00
2013-05-18 14:02:18 -07:00
2014-02-10 14:34:40 +01:00
2014-04-07 11:21:07 +02:00
2013-04-15 15:59:22 +02:00
2013-04-15 15:59:22 +02:00
2013-12-12 23:34:27 +00:00
2014-03-30 19:22:25 +02:00
2014-02-23 10:52:15 +01:00
2013-07-26 13:21:05 -07:00
2013-04-15 15:59:22 +02:00
2013-04-15 15:59:22 +02:00
2014-03-15 18:37:03 +01:00
2013-04-15 15:59:22 +02:00
2013-05-15 19:30:40 -04:00
2013-12-20 20:00:55 +01:00
2014-04-08 11:20:29 +02:00
2014-02-04 17:30:13 +01:00
2013-04-15 15:59:22 +02:00
2013-04-15 15:59:22 +02:00
2013-04-15 15:59:22 +02:00
2013-04-15 15:59:22 +02:00
2013-05-12 18:52:56 +01:00
2013-05-12 23:42:06 +01:00
2014-02-27 21:45:34 +01:00
2014-02-08 19:29:33 +01:00
2014-01-18 13:56:28 +01:00
2013-12-05 11:50:17 +01:00
2013-12-03 14:53:24 +01:00
2013-12-28 12:39:25 +01:00
2014-04-08 14:24:31 +01:00
2014-04-08 11:21:44 +02:00
2014-03-26 09:05:55 +11:00
2014-03-12 09:06:33 +01:00
2014-01-13 10:02:45 +00:00
2013-04-15 15:59:22 +02:00
2014-02-23 00:11:04 +01:00
2013-04-15 15:59:22 +02:00
2014-01-18 13:34:13 +01:00
2012-10-17 17:46:34 +01:00
2014-04-08 11:23:50 +02:00
2013-04-15 15:59:22 +02:00
2013-04-15 15:59:22 +02:00
2014-03-25 17:46:32 +01:00
2013-04-15 15:59:22 +02:00
2014-04-03 11:54:41 +02:00
2013-04-15 15:59:22 +02:00
2013-04-15 15:59:22 +02:00
2013-07-29 09:42:12 +02:00
2013-08-26 10:22:06 +02:00
2013-04-15 15:59:22 +02:00
2013-04-15 15:59:22 +02:00
2014-03-28 20:02:40 +00:00