FFmpeg git repo
Go to file
Xi Wang 530d10792d 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)

Conflicts:
	libavutil/lzo.c
2013-05-09 11:29:05 +02:00
doc doc: filters: Correct BNF FILTER description 2013-02-24 19:50:31 +01:00
ffpresets
libavcodec atrac3: avoid oversized shifting in decode_bytes() 2013-05-09 11:29:05 +02:00
libavdevice
libavfilter vf_pad: don't give up its own reference to the output buffer. 2013-01-04 07:43:38 +01:00
libavformat flacdec: simplify bounds checking in flac_probe() 2013-05-09 11:29:05 +02:00
libavutil lzo: fix overflow checking in copy_backptr() 2013-05-09 11:29:05 +02:00
libpostproc
libswscale swscale: fix another integer overflow. 2012-04-01 18:33:27 +02:00
tests wmaenc: fix m/s stereo encoding for the first frame 2012-04-01 18:33:28 +02:00
tools
.gitignore
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
Changelog Update changelog for 0.7.7 release 2013-02-02 09:59:21 +01:00
Doxyfile
INSTALL
LICENSE
Makefile
README
RELEASE Update RELEASE file for 0.7.8 2013-05-09 11:20:11 +02:00
cmdutils.c update year to 2013 2013-05-09 11:20:10 +02:00
cmdutils.h
cmdutils_common_opts.h
common.mak
configure ppc: always use pic for shared libraries 2013-01-12 19:33:10 +01:00
ffmpeg.c ffmpeg: fix -force_key_frames 2012-10-06 09:40:28 +02:00
ffplay.c
ffprobe.c
ffserver.c
ffserver.h
subdir.mak
version.sh

README

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

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

* Read the documentation in the doc/ directory.

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

* See the LICENSE file.