Andreas Cadhalpun
3e8e1a660e
apng: use correct size for output buffer
...
The buffer needs s->bpp bytes, at maximum currently 10.
Assert that s->bpp is not larger.
This fixes a stack buffer overflow.
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-11-07 13:15:14 +01:00
..
2015-10-24 17:58:17 -04:00
2015-11-04 08:15:24 -05:00
2015-10-22 19:43:44 +02:00
2015-10-29 21:26:43 +01:00
2015-11-06 13:45:50 +01:00
2015-11-06 13:45:50 +01:00
2015-10-26 15:39:09 +01:00
2015-10-29 14:18:03 +01:00
2015-10-27 12:40:04 +01:00
2015-10-22 19:43:44 +02:00
2015-10-30 01:24:50 +01:00
2015-11-06 13:45:50 +01:00
2015-10-30 15:06:19 -04:00
2015-11-06 21:59:42 +01:00
2015-11-06 00:15:21 +01:00
2015-10-26 10:08:01 +01:00
2015-10-24 12:16:04 +02:00
2015-10-22 21:41:53 +02:00
2015-10-22 21:41:53 +02:00
2015-10-22 21:41:53 +02:00
2015-10-22 21:41:53 +02:00
2015-11-05 21:36:14 +01:00
2015-11-05 01:31:52 +01:00
2015-11-02 11:58:01 +01:00
2015-11-02 11:54:34 +01:00
2015-10-31 22:56:48 +01:00
2015-10-24 13:09:58 +02:00
2015-10-25 22:48:04 +01:00
2015-11-05 15:04:57 +01:00
2015-11-07 12:10:55 +01:00
2015-11-07 12:10:55 +01:00
2015-11-07 12:10:55 +01:00
2015-10-25 10:18:00 -04:00
2015-10-27 12:40:04 +01:00
2015-11-03 12:01:27 +01:00
2015-11-02 08:44:05 +01:00
2015-11-07 02:17:04 +01:00
2015-10-27 14:28:56 +01:00
2015-10-27 13:49:37 +01:00
2015-10-31 17:33:22 +01:00
2015-10-27 14:35:30 +01:00
2015-10-27 14:35:30 +01:00
2015-10-27 12:48:27 +01:00
2015-10-27 14:28:56 +01:00
2015-11-04 04:40:00 +01:00
2015-11-06 13:45:50 +01:00
2015-11-07 01:01:19 +01:00
2015-11-04 21:51:21 +01:00
2015-10-28 21:44:24 -04:00
2015-11-06 00:56:52 +01:00
2015-10-27 14:28:56 +01:00
2015-10-22 19:43:44 +02:00
2015-10-22 19:43:44 +02:00
2015-10-22 19:43:44 +02:00
2015-10-29 18:46:00 -04:00
2015-10-22 21:13:59 +02:00
2015-10-31 16:00:39 +01:00
2015-10-26 15:39:09 +01:00
2015-10-28 17:57:07 +01:00
2015-10-22 21:41:53 +02:00
2015-10-31 17:25:30 -07:00
2015-11-07 13:15:14 +01:00
2015-10-30 12:46:56 +01:00
2015-10-22 20:48:54 +02:00
2015-10-22 20:48:54 +02:00
2015-10-30 01:32:39 +01:00
2015-10-22 15:55:43 +02:00
2015-10-22 17:01:13 +02:00
2015-10-22 15:55:43 +02:00
2015-10-22 15:55:43 +02:00
2015-10-22 20:08:26 +02:00
2015-11-04 04:41:22 +01:00
2015-10-27 14:07:36 +01:00
2015-10-27 13:58:44 +01:00
2015-10-27 14:05:41 +01:00
2015-10-29 18:46:00 -04:00
2015-10-26 23:23:59 -07:00
2015-10-22 20:48:54 +02:00
2015-11-05 03:16:15 +01:00
2015-10-22 19:43:44 +02:00
2015-10-29 21:26:43 +01:00
2015-10-22 20:48:54 +02:00
2015-11-02 11:58:01 +01:00
2015-11-04 04:30:19 +01:00
2015-11-06 13:45:50 +01:00
2015-11-06 17:12:03 -05:00
2015-10-24 15:11:59 -04:00
2015-11-06 13:45:50 +01:00
2015-10-22 21:41:53 +02:00
2015-10-22 21:41:53 +02:00
2015-10-29 18:46:00 -04:00