- 09 Aug, 2014 3 commits
-
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st> (cherry picked from commit 9eded0fe ) Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
Luca Barbato authored
Validate the image size there as is done in the other release branches. Bug-Id: CVE-2011-3935 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
-
Reinhard Tartler authored
-
- 08 Aug, 2014 3 commits
-
-
Michael Niedermayer authored
Fixes a double release of the current frame on deinit. Bug-Id: CVE-2011-3934 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Vittorio Giovara <vittorio.giovara@gmail.com>
-
Luca Barbato authored
Prevent out of array write. Similar to what Michael Niedermayer did to address the same issue. Bug-Id: CVE-2014-2263 CC: libav-stable@libav.org (cherry picked from commit addbaf13 ) Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
Luca Barbato authored
The specification says the value is expressed in 10 bits including the 4-byte CRC. (cherry picked from commit 694b7cd8 ) Signed-off-by:
Luca Barbato <lu_zero@gentoo.org> Conflicts: libavformat/mpegtsenc.c
-
- 07 Aug, 2014 2 commits
-
-
Reinhard Tartler authored
-
Reinhard Tartler authored
-
- 06 Aug, 2014 4 commits
-
-
Michael Niedermayer authored
Fixes state becoming inconsistent and a null pointer dereference. CC: libav-stable@libav.org Bug-Id: CVE-2013-0860 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
The input data must remain constant, make a copy instead. This is in theory a performance hit, but since I failed to find any samples using this feature, this should not matter in practice. Also, check the size of the header, avoiding invalid reads on truncated data. CC:libav-stable@libav.org (cherry picked from commit 7b588bb6 ) Signed-off-by:
Anton Khirnov <anton@khirnov.net> Conflicts: libavcodec/svq1dec.c
-
Anton Khirnov authored
0 means no data consumed, so it can trigger an infinite loop in the caller. CC:libav-stable@libav.org (cherry picked from commit c7d9b473 ) Signed-off-by:
Anton Khirnov <anton@khirnov.net> Conflicts: libavcodec/cdgraphics.c
-
Anton Khirnov authored
Fixes possible invalid memory accesses on corrupted data. CC:libav-stable@libav.org Bug-ID: CVE-2013-3674 (cherry picked from commit a1599f3f ) Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
- 05 Aug, 2014 2 commits
-
-
Michael Niedermayer authored
Avoid out of array accesses. CC: libav-stable@libav.org Bug-Id: CVE-2013-0848 Signed-off-by:
Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by:
Anton Khirnov <anton@khirnov.net> (cherry picked from commit a7153444 ) Signed-off-by:
Anton Khirnov <anton@khirnov.net> Conflicts: libavcodec/huffyuvdec.c
-
Michael Niedermayer authored
Fixes out of array accesses. Bug-Id: CVE-2013-3672 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by:
Anton Khirnov <anton@khirnov.net> (cherry picked from commit 70cd3b8e ) Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
- 04 Aug, 2014 1 commit
-
-
Diego Biurrun authored
Bug-Id: CVE-2013-0868 inspired by a patch from Michael Niedermayer <michaelni@gmx.at> Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind (cherry picked from commit 744b406f ) Signed-off-by:
Diego Biurrun <diego@biurrun.de> Conflicts: libavcodec/huffyuvdec.c
-
- 01 Aug, 2014 6 commits
-
-
Mans Rullgard authored
ModeTab.fmode has only 3 elements, so indexing it with ftype in the initialier for 'size' is invalid when ftype == FT_PPC. This fixes crashes with gcc 4.8. Signed-off-by:
Mans Rullgard <mans@mansr.com> (cherry picked from commit 4bf2e7c5 ) Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
Janne Grunau authored
Fixes errors in slice based multithreading introduced in 0b300daa. CC: libav-stable@libav.org (cherry picked from commit 5945c7b3 ) Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
Vittorio Giovara authored
Properly address CVE-2011-3946 and parse bitstream as described in the spec. CC: libav-stable@libav.org Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
-
Michael Niedermayer authored
Signed-off-by:
Anton Khirnov <anton@khirnov.net> Signed-off-by:
Vittorio Giovara <vittorio.giovara@gmail.com>
-
Michael Niedermayer authored
Make sure the buffer size does not exceed the expected RLE size. Prevent an out of array bound write. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> Bug-Id: CVE-2013-0852 Signed-off-by:
Luca Barbato <lu_zero@gentoo.org> (cherry picked from commit 00915d3c ) Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
Diego Biurrun authored
Some optimized template functions reference optimized symbols, so they must be explicitly disabled when those symbols are unavailable. (cherry picked from commit ec36aa69 ) Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
- 31 Jul, 2014 1 commit
-
-
Diego Biurrun authored
This fixes compilation with libswscale disabled. (cherry picked from commit ab799664 ) Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
- 30 Jul, 2014 3 commits
-
-
Bernhard Übelacker authored
This avoids a segfault in avconv_opt.c:opt_target when trying to determine the norm. (cherry picked from commit dc71f195 ) Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
Diego Biurrun authored
CC: libav-stable@libav.org (cherry picked from commit a8d803a3 ) Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
Anton Khirnov authored
This is safer and possibly fixes invalid reads on truncated data. (cherry-picked from commit 541427ab) CC:libav-stable@libav.org Conflicts: libavcodec/eamad.c (cherry picked from commit f9204ec5 ) Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
- 27 Jun, 2014 2 commits
-
-
Reinhard Tartler authored
-
Reinhard Tartler authored
-
- 25 Jun, 2014 1 commit
-
-
Luca Barbato authored
get_len can overflow for specially crafted payload. Reported-By:
Don A. Baley <donb@securitymouse.com> CC: libav-stable@libav.org (cherry picked from commit ccda51b1 ) Signed-off-by:
Luca Barbato <lu_zero@gentoo.org> Conflicts: libavutil/lzo.c
-
- 17 Jun, 2014 1 commit
-
-
Sean McGovern authored
Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
- 01 Jun, 2014 11 commits
-
-
Reinhard Tartler authored
-
Sean McGovern authored
-
Reinhard Tartler authored
-
Janne Grunau authored
Fixes a crash in the fuzzed sample sample_varPAR.avi_s26638 with alternating bit depths.
-
Martin Storsjö authored
Otherwise buffer size calculations in allocate_buffers could overflow later, making the code think a large enough buffer actually was allocated. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Luca Barbato authored
Prevent a division by zero down the codepath. Sample-Id: 00001721-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
-
Rafaël Carré authored
Only consume an AVPacket when all the samples have been read. When the rate of samples output is limited (by the default value of max_samples), consuming the first packet immediately will cause timing problems: - The first packet with PTS 0 will output 4608 samples and be consumed entirely - The second packet with PTS 64 will output the remaining samples (typically, a lot, that's why max_samples exist) until the decoded samples of the first packet have been exhausted, at which point the samples of the second packet will be decoded and output when av_decode_frame is called with the next packet). That means there's a PTS jump since the first packet is 'decoded' immediately, which can be seen with avplay or mplayer: the timing jumps immediately to 6.2s (which is the size of a packet). Sample: http://streams.videolan.org/issues/6348/Goldwave-MAClib.ape Bug-Debian: http://bugs.debian.org/744901 Signed-off-by:
Justin Ruggles <justin.ruggles@gmail.com> (cherry picked from commit 91d4cfb8 ) Signed-off-by:
Reinhard Tartler <siretart@tauware.de>
-
Mark Himsley authored
It is my understanding that "Unless otherwise stated, all data in a QuickTime movie is stored in big-endian byte ordering" [1] in MOV files. I have a couple of thousand files, which technically are invalid because their sound sample description element 4CC is 'lpcm' but its version is 0 - and "Version 0 supports only uncompressed audio in raw ('raw ') or twos-complement ('twos') format" [2] Because isom.c only contains a mapping for 4CC 'lpcm' to AV_CODEC_ID_PCM_S16LE, these files have their audio decoded as LE when it is actually BE. This commit adds AV_CODEC_ID_PCM_S16BE as the first match for 4CC 'lpcm'. [1] https://developer.apple.com/library/mac/documentation/quicktime/QTFF/qtff.pdf page 21 [2] https://developer.apple.com/library/mac/documentation/quicktime/QTFF/qtff.pdf page 178 Reviewed-by:
Yusuke Nakamura <muken.the.vfrmaniac@gmail.com>
-
Baptiste Coudurier authored
The correct point that seperates ISO and MAC language codes is 0x400 according to the current QT spec. Old QT specs did not list where this seperation is but apparently only defined the meaning of the first 137. (cherry picked from commit 9e71cc81) (cherry picked from commit 7940306a)
-
Michael Niedermayer authored
Additional fixes by Nigel Touati-Evans <nigel.touatievans@gmail.com>. Check the index for streams with a time drift of 2s or a buffer drift of 64MB. Bug-Id: 666 CC: libav-stable@libav.org Sample-Id: yet-another-broken-interleaved-avi.avi Signed-off-by:
Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by:
Luca Barbato <lu_zero@gentoo.org> Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
Anton Khirnov authored
In case start_frame() fails, this potentially invalid frame can still be output to the caller. Bug-Id: 672 Bug-Id: debian/741240 Bug-Id: ubuntu/1288206
-