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-10-23 12:01:18 +01:00
2013-02-07 07:18:57 +01:00
2012-12-21 00:18:34 +01:00
2012-12-18 20:14:54 +01:00
2012-12-18 20:14:54 +01:00
2013-03-02 11:27:05 +01:00
2012-12-10 17:23:53 +00:00
2011-04-07 02:54:12 +02:00
2012-12-10 17:23:53 +00:00
2012-12-10 17:23:53 +00:00
2013-03-09 18:01:05 +01:00

Libav README
------------

1) Documentation
----------------

* Read the documentation in the doc/ directory.

2) Licensing
------------

* See the LICENSE file.
Description
No description provided
Readme 305 MiB
Languages
C 89.8%
Assembly 8.1%
Makefile 1.3%
C++ 0.3%
Objective-C 0.2%
Other 0.1%