Max Horn
ca402f32e3
handle malloc failures in ff_get_wav_header
...
ff_get_wav_header is reading data from a WAVE file and then uses it
(without validation) to malloc a buffer. It then proceeded to read
data into the buffer, without verifying that the allocation succeeded.
To address this, change ff_get_wav_header to return an error if
allocation failed, and adapted all calling code to handle that error.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-04-14 13:56:09 +02:00
..
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-04-03 22:46:40 +02:00
2011-04-14 13:55:30 +02:00
2011-03-21 21:31:34 +01:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-13 11:30:37 +03:00
2011-04-08 11:08:26 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-14 13:56:09 +02:00
2011-04-03 22:47:05 +02:00
2011-04-06 14:10:08 +02:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:47:05 +02:00
2011-03-19 13:33:20 +00:00
2011-04-13 13:50:17 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-14 13:56:09 +02:00
2011-04-03 22:46:40 +02:00
2011-04-12 19:17:05 +02:00
2011-04-13 07:38:18 +02:00
2011-04-13 07:38:18 +02:00
2011-04-12 19:17:05 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-08 11:08:26 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-09 17:32:09 -07:00
2011-03-28 16:55:03 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-14 13:56:09 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-08 20:58:19 +02:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-24 08:06:39 -04:00
2011-03-19 13:33:20 +00:00
2011-04-13 07:38:18 +02:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-12 23:08:55 +03:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-08 11:08:26 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-08 11:08:26 +02:00
2011-04-08 15:59:19 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-03-22 09:08:59 -04:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-08 16:44:29 +02:00
2011-03-19 13:33:20 +00:00
2011-04-08 16:44:29 +02:00
2011-03-19 13:33:20 +00:00
2011-03-23 07:30:15 -04:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-06 14:10:08 +02:00
2011-01-28 01:45:17 +00:00
2011-03-19 13:33:20 +00:00
2011-04-08 15:59:19 +02:00
2011-03-19 13:33:20 +00:00
2011-04-06 14:10:08 +02:00
2011-03-19 13:33:20 +00:00
2011-04-14 13:55:30 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-14 13:56:09 +02:00
2011-04-07 18:11:24 +02:00
2011-03-19 13:33:20 +00:00
2011-04-07 18:07:16 +02:00
2011-03-19 13:33:20 +00:00
2011-04-13 13:50:17 +02:00
2011-04-13 13:50:17 +02:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-04-08 15:59:19 +02:00
2011-04-07 18:07:16 +02:00
2011-04-08 11:08:26 +02:00
2011-04-07 18:07:16 +02:00
2011-04-03 22:47:05 +02:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:47:32 +02:00
2011-03-20 20:33:05 -04:00
2011-04-03 22:47:05 +02:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-31 19:46:28 +02:00
2011-03-19 13:33:20 +00:00
2011-04-14 13:51:26 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-07 21:03:12 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-04-03 22:47:05 +02:00
2011-03-19 13:33:20 +00:00
2011-04-10 04:33:15 +02:00
2011-04-10 04:33:15 +02:00
2011-04-03 22:47:05 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-02-06 16:08:59 -05:00
2011-03-19 13:33:20 +00:00
2011-02-06 16:08:59 -05:00
2011-02-06 16:08:59 -05:00
2011-02-06 16:35:00 -05:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-07 18:07:16 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-14 13:56:09 +02:00
2011-04-14 13:56:09 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-04-04 17:45:20 +02:00
2011-04-08 15:59:19 +02:00
2011-04-08 11:08:26 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:47:05 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:47:05 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-06 14:10:08 +02:00
2011-04-03 22:47:05 +02:00
2011-04-03 22:47:05 +02:00
2011-04-03 22:47:05 +02:00
2011-04-04 17:45:20 +02:00
2011-04-08 15:59:19 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:47:39 +02:00
2011-04-08 15:59:19 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-08 11:08:26 +02:00
2011-04-07 18:07:16 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-04 17:45:20 +02:00
2011-04-08 16:45:40 +02:00
2011-04-07 18:07:16 +02:00
2011-04-08 16:45:40 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-08 16:45:41 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-01 19:29:08 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-04-08 11:08:26 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-11 14:18:48 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-04-08 11:08:26 +02:00
2011-04-13 07:38:15 +02:00
2011-04-12 19:06:26 -04:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-04-14 13:55:30 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-14 13:56:09 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-14 13:56:09 +02:00
2011-04-03 22:46:40 +02:00
2011-03-19 13:33:20 +00:00
2011-04-14 13:56:09 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00