Andreas Cadhalpun
1047c286fa
libopenjpegenc: add NULL check for img before accessing it
...
If opj_image_create fails to allocate an image it returns NULL, which
causes a segmentation fault at 'img->x0 = 0'.
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit 1577526b47439f33a999339efdec5d624b70e1da)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-03 03:22:17 +02:00
..
2015-02-13 20:48:08 +01:00
2015-02-13 20:48:09 +01:00
2015-03-29 03:34:22 +02:00
2015-05-28 22:40:53 +02:00
2015-03-29 03:34:22 +02:00
2015-03-29 03:34:21 +02:00
2015-06-01 23:25:20 +02:00
2015-03-29 03:34:22 +02:00
2015-05-06 03:20:49 +02:00
2015-06-01 23:25:20 +02:00
2015-05-05 21:41:26 +02:00
2015-04-25 15:06:54 +02:00
2015-03-29 03:34:22 +02:00
2015-03-29 03:34:22 +02:00
2015-03-29 03:34:23 +02:00
2015-03-29 03:34:22 +02:00
2015-03-29 03:34:22 +02:00
2015-03-09 00:31:23 +01:00
2015-05-19 21:20:13 +02:00
2015-01-13 00:16:41 +01:00
2015-05-06 03:08:35 +02:00
2015-01-18 02:57:48 +01:00
2015-06-01 23:25:21 +02:00
2015-04-25 15:06:54 +02:00
2015-01-18 02:59:01 +01:00
2015-06-01 23:25:19 +02:00
2015-01-18 02:34:25 +01:00
2015-06-01 23:25:21 +02:00
2015-01-18 02:02:00 +01:00
2015-06-01 23:25:21 +02:00
2015-06-01 23:25:22 +02:00
2015-03-29 03:34:23 +02:00
2015-01-18 02:34:25 +01:00
2015-01-18 02:15:10 +01:00
2015-02-13 20:48:08 +01:00
2015-03-29 03:34:23 +02:00
2015-03-09 01:18:06 +01:00
2015-03-29 03:34:22 +02:00
2015-06-01 23:25:21 +02:00
2015-01-18 03:21:35 +01:00
2015-02-13 20:48:09 +01:00
2014-11-30 21:40:36 +01:00
2015-03-29 03:34:22 +02:00
2015-03-29 03:34:22 +02:00
2015-01-13 00:16:41 +01:00
2015-02-16 18:08:45 +01:00
2014-12-20 12:15:25 +01:00
2015-06-01 23:25:21 +02:00
2015-01-12 23:14:26 +01:00
2015-02-28 19:18:24 +01:00
2015-04-25 15:06:54 +02:00
2015-04-25 15:06:54 +02:00
2015-04-25 15:06:54 +02:00
2015-05-31 00:13:22 +02:00
2015-04-25 15:06:54 +02:00
2015-04-25 15:06:54 +02:00
2015-06-01 23:25:20 +02:00
2015-06-01 23:25:20 +02:00
2015-06-01 23:25:21 +02:00
2015-03-29 03:13:23 +02:00
2015-01-18 01:59:36 +01:00
2015-01-13 00:16:41 +01:00
2015-01-18 02:34:25 +01:00
2015-06-01 23:25:20 +02:00
2014-12-20 10:51:40 +01:00
2015-06-03 03:22:17 +02:00
2015-01-18 03:27:11 +01:00
2015-06-01 23:25:21 +02:00
2015-01-18 02:24:53 +01:00
2015-05-19 20:15:15 +02:00
2015-03-29 03:34:22 +02:00
2015-03-09 00:44:49 +01:00
2015-06-01 23:25:20 +02:00
2015-05-19 22:01:58 +02:00
2014-12-20 10:51:41 +01:00
2014-12-02 12:57:20 +01:00
2015-01-17 23:00:30 +01:00
2015-06-01 23:25:20 +02:00
2014-11-30 21:40:36 +01:00
2015-04-25 15:06:54 +02:00
2015-06-01 23:25:19 +02:00
2015-02-13 20:48:08 +01:00
2015-03-09 01:22:01 +01:00
2015-05-30 16:30:22 +02:00
2015-03-29 03:34:22 +02:00
2015-06-01 23:25:21 +02:00
2015-03-29 03:34:22 +02:00
2015-03-29 03:34:22 +02:00
2015-01-13 00:06:40 +01:00
2015-05-19 21:54:04 +02:00
2015-06-01 23:25:21 +02:00
2015-03-09 00:10:43 +01:00
2015-03-29 03:34:22 +02:00
2015-03-29 03:34:22 +02:00
2015-06-01 23:25:19 +02:00
2015-01-13 00:16:40 +01:00
2015-02-13 20:48:09 +01:00
2014-11-30 21:40:36 +01:00
2015-01-18 02:00:21 +01:00
2015-05-19 12:03:48 +01:00
2015-03-09 01:23:24 +01:00
2015-03-29 03:34:22 +02:00
2015-06-01 23:25:21 +02:00
2014-12-20 12:20:46 +01:00
2015-06-01 23:25:21 +02:00
2015-03-29 03:34:21 +02:00
2015-06-01 23:25:21 +02:00
2015-01-18 00:05:18 +01:00
2015-01-13 00:16:41 +01:00
2015-03-29 03:34:22 +02:00
2015-01-18 02:00:54 +01:00
2015-03-29 03:34:22 +02:00
2015-03-09 00:51:48 +01:00
2015-01-17 23:58:28 +01:00
2014-12-19 17:58:22 +01:00
2014-12-16 19:38:08 +01:00
2015-03-09 00:27:53 +01:00
2015-01-18 02:34:25 +01:00
2015-01-09 17:18:41 +01:00
2015-03-29 03:34:22 +02:00
2015-06-01 23:25:20 +02:00
2015-06-01 23:25:21 +02:00
2015-03-29 03:28:38 +02:00
2014-11-30 21:40:36 +01:00
2015-01-17 23:01:33 +01:00
2015-03-29 03:34:22 +02:00