summaryrefslogtreecommitdiff
path: root/libavutil/lzo.c
Commit message (Collapse)AuthorAge
* lzo: Handle integer overflowLuca Barbato2014-06-23
| | | | | | | get_len can overflow for specially crafted payload. Reported-By: Don A. Baley <donb@securitymouse.com> CC: libav-stable@libav.org
* lzo: fix overflow checking in copy_backptr()Xi Wang2013-03-15
| | | | | | | | | | | | | 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>
* avutil: Move memcpy_backptr() to mem.cDiego Biurrun2012-10-25
| | | | The function is used elsewhere and does not belong with the LZO code.
* Remove need for padding in av_memcpy_backptr()Mans Rullgard2012-10-23
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lzo: Use AV_COPY*U macros where appropriateDiego Biurrun2012-10-23
|
* avutil/lzo: K&R formatting cosmeticsDiego Biurrun2012-10-20
|
* lzo: Drop obsolete fast_memcpy referenceDiego Biurrun2012-10-19
|
* libavutil: Remove broken and pointless lzo test program.Diego Biurrun2012-03-26
|
* doxygen: eliminate Qt-style doxygen syntaxDiego Biurrun2011-12-05
|
* doxygen: Consistently use '@' instead of '\' for Doxygen markup.Diego Biurrun2011-06-24
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Handle input or output len of 0 properly in lzo decoder.Reimar Döffinger2011-01-24
| | | | (cherry picked from commit 7d5082600ee63d879c2a325974ea09c8ace05019)
* Give liblzo benchmark conditionals more descriptive names and add convenienceDiego Biurrun2009-04-09
| | | | | | definitions along with instructions for changing them. Originally committed as revision 18387 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace manual setting of the removed av_log_level variable by theDiego Biurrun2009-04-02
| | | | | | corresponding call to av_log_set_level(). Originally committed as revision 18310 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove more functions disabled by major version bump.Reimar Döffinger2009-03-08
| | | | Originally committed as revision 17876 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add necessary header for LIBAVUTIL_VERSION_MAJOR, fixes the warning:Diego Biurrun2009-02-02
| | | | | | libavutil/lzo.c:235:5: warning: "LIBAVUTIL_VERSION_MAJOR" is not defined Originally committed as revision 16962 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move doxygen documentation from lzo.c to lzo.hReimar Döffinger2009-02-02
| | | | Originally committed as revision 16949 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_ prefix to LZO stuff and thus make it officially part of the public API.Reimar Döffinger2009-02-02
| | | | | | Keep lzo1x_decode until the next major version bump for binary compatibility. Originally committed as revision 16946 to svn://svn.ffmpeg.org/ffmpeg/trunk
* spelling/grammar/consistency review part IIDiego Biurrun2009-01-28
| | | | Originally committed as revision 16848 to svn://svn.ffmpeg.org/ffmpeg/trunk
* spelling/grammar/consistency review part IDiego Biurrun2009-01-28
| | | | Originally committed as revision 16840 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_memcpy_backptr(): deliberately overlapping memcpy variant.Peter Ross2008-08-06
| | | | Originally committed as revision 14641 to svn://svn.ffmpeg.org/ffmpeg/trunk
* LZO decoder input is constReimar Döffinger2008-02-01
| | | | Originally committed as revision 11797 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move lzo decompression to libavutilReimar Döffinger2007-01-31
Originally committed as revision 7789 to svn://svn.ffmpeg.org/ffmpeg/trunk