Files
ffmpeg/libavcodec
Andreas Cadhalpun 56706ac0d5 libopenjpegenc: fix out-of-bounds reads when filling the edges
The calculation of width/height should round up, not round down to
prevent setting width or height to 0.

Also image->comps[compno].w is unsigned (at least in openjpeg2), so the
calculation could silently wrap around without the explicit cast to int.

Reviewed-by: Michael Bradshaw <mjbshaw@gmail.com>
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-10-14 16:56:14 +02:00
..
2016-10-12 11:15:49 +01:00
2016-10-12 11:15:49 +01:00
2016-10-12 11:15:49 +01:00
2016-10-01 19:58:04 +01:00
2016-09-26 21:42:17 +02:00
2016-09-12 15:57:51 -05:00
2016-10-09 20:09:00 +02:00
2016-08-26 02:10:42 +02:00
2016-09-21 13:40:04 +02:00
2016-08-20 19:36:01 +02:00
2016-08-25 02:40:59 +02:00
2016-08-16 23:06:02 +02:00
2016-08-18 23:36:18 +02:00
2016-09-15 21:48:28 +02:00
2016-09-15 21:48:28 +02:00
2016-09-09 16:35:37 +02:00
2016-09-09 16:35:37 +02:00
2016-08-19 14:24:13 +02:00
2016-08-28 11:18:16 +02:00
2016-08-28 11:18:16 +02:00
2016-10-01 19:58:04 +01:00
2016-09-03 14:23:32 +02:00
2016-09-17 13:23:56 +01:00
2016-09-17 13:23:56 +01:00
2016-09-17 13:23:56 +01:00
2016-10-09 20:09:00 +02:00
2016-08-18 15:30:05 +02:00
2016-09-28 12:35:58 +01:00
2016-09-19 23:26:06 +02:00
2016-09-08 22:16:35 +02:00
2016-08-06 18:27:01 -03:00
2016-08-06 18:27:01 -03:00
2016-08-06 18:27:01 -03:00