1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-04 06:08:26 +02:00
FFmpeg/libavcodec
Andreas Cadhalpun d6d328c294 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-07-20 04:43:39 +02:00
..
2015-03-06 14:37:44 +01:00
2014-11-13 19:01:08 +01:00
2015-03-13 13:04:31 +01:00
2015-03-03 13:57:42 +01:00
2015-03-03 13:57:42 +01:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2015-02-21 20:41:36 +01:00
2014-08-24 11:05:42 +00:00
2015-02-21 20:38:13 +01:00
2015-01-09 20:33:53 +01:00
2014-12-18 23:27:14 +01:00
2015-02-06 19:07:29 +01:00
2014-11-14 20:25:02 +01:00
2014-09-06 20:59:20 +02:00
2014-09-06 20:59:20 +02:00
2015-02-05 09:48:54 +00:00
2014-08-24 11:05:42 +00:00
2015-05-15 20:40:26 +02:00
2015-02-17 11:27:42 -05:00
2015-01-05 01:45:49 +01:00
2015-03-28 20:01:22 +01:00
2014-08-24 11:05:42 +00:00
2015-02-08 00:12:46 +01:00
2014-12-08 13:29:18 +00:00
2014-10-28 12:22:03 +01:00
2014-10-28 12:22:03 +01:00
2014-10-28 15:30:05 +01:00
2015-02-14 19:45:23 +00:00
2015-03-14 14:26:28 +01:00
2015-06-19 10:37:30 +02:00
2014-10-24 09:53:42 +03:00
2015-02-21 15:50:19 +01:00
2015-02-10 14:20:32 +00:00
2014-11-26 04:11:16 +01:00
2014-08-24 11:05:42 +00:00
2014-11-03 10:15:07 -05:00
2015-02-01 19:13:38 +01:00
2015-03-02 19:32:23 +01:00
2015-03-28 11:59:04 +01:00
2015-02-27 09:30:13 +00:00
2014-08-25 23:12:30 +02:00
2014-08-24 11:05:42 +00:00
2015-02-18 10:21:56 -05:00
2014-11-25 02:00:06 +00:00
2014-08-24 11:05:42 +00:00
2015-01-17 13:01:26 +01:00
2014-08-24 11:05:42 +00:00
2015-01-15 01:25:16 +01:00
2014-12-20 11:29:19 +01:00
2014-12-20 11:29:19 +01:00
2014-08-19 13:35:44 +00:00
2015-01-22 01:47:54 +01:00
2014-12-03 11:56:22 +01:00
2015-01-22 01:49:04 +01:00
2015-01-22 01:49:04 +01:00
2015-01-13 17:27:45 +01:00
2014-08-24 11:05:42 +00:00
2015-01-11 12:15:03 +01:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-11-16 23:48:38 +01:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-10-27 20:55:57 +01:00
2014-08-31 10:25:36 +02:00
2014-11-25 02:00:27 +01:00
2015-01-20 01:16:25 +01:00
2015-02-24 03:15:42 +01:00
2014-08-24 11:05:42 +00:00
2014-09-30 20:21:14 +02:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-10-22 23:12:38 +02:00
2015-02-06 21:02:08 +01:00
2015-02-15 17:28:02 +01:00
2015-02-14 12:48:41 +00:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2015-01-18 00:34:19 +01:00
2015-05-15 10:04:51 +02:00
2015-02-04 09:45:41 +00:00
2015-01-19 17:12:09 +01:00