Files
FFmpeg/libavutil
Xi Wang 22c27e1f4a lzo: fix overflow checking in copy_backptr()
The check `src > dst' in the form `&c->out[-back] > c->out' invokes
pointer overflow, which is undefined behavior in C.

Remove the check.  Also replace `&c->out[-back] < c->out_start' with
a safe form `c->out - c->out_start < back' to avoid overflow.

CC: libav-stable@libav.org

Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>

(cherry picked from commit ca6c3f2c53)
2013-03-15 13:21:15 +01:00
..
2012-07-03 17:26:51 +02:00
2012-04-20 09:43:11 -04:00
2011-05-21 13:48:10 +02:00
2012-10-29 20:05:41 +01:00
2012-08-15 22:32:06 +03:00
2012-10-21 22:38:21 +02:00
2012-10-21 22:38:21 +02:00
2011-12-11 00:32:25 +01:00
2012-08-15 22:32:06 +03:00
2012-12-18 13:36:51 +01:00
2012-10-25 11:36:57 +02:00
2012-10-25 11:36:57 +02:00
2012-10-23 07:33:05 +02:00
2012-12-05 17:52:55 +01:00
2012-11-20 12:45:58 +01:00
2012-12-18 13:36:51 +01:00
2012-06-22 17:15:18 +01:00
2012-06-22 17:15:18 +01:00
2012-08-15 22:32:06 +03:00