- Mar 21, 2014
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
This fixes potential divisions by zero and out of array accesses. Reported-by:
Dale Curtis <dalecurtis@chromium.org> Found-by:
<inferno@chromium.org> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 2c16bf2d) Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Fixes out of array read Fixes: d4476f68ca1c1c57afbc45806f581963-asan_heap-oob_2266b27_8607_cov_4044577381_snow_chroma_bug.avi Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 61d59703) Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Fixes out of array access Fixes: 14a74a0a2dc67ede543f0e35d834fbbe-asan_heap-oob_49572c_556_cov_215466444_44_001_engine_room.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit c919e1ca) Conflicts: libavcodec/msrle.c (cherry picked from commit bc1c8ec5) Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Prevents out of array writes Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 842b6c14) Conflicts: libavformat/mpegtsenc.c (cherry picked from commit e87de3f50b765134588d0b048c32ed4b8acc16fb) Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Fixes corruption of context Fixes: 8835659dde6a4f7dcdf341de6a45c6c8-signal_sigsegv_1dce67b_4564_cov_2504444599_classical_22_16_1_14000_v3c_0_extend_0_29.wma Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit ec9578d5) Conflicts: libavcodec/wmalosslessdec.c (cherry picked from commit 5d683807be71002a6c3facef3e26350762a760e2) Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit a0abefb0) Conflicts: libavcodec/wmalosslessdec.c
-
Michael Niedermayer authored
Fixes NULL pointer dereference Fixes: signal_sigsegv_1ab8bf4_2847_cov_4254117347_SA10091.vc1 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit b51e9354) Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Prevents out of array accesses with CODEC_FLAG_EMU_EDGE Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 6ba02602) Conflicts: libavcodec/vmnc.c Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 7c17207a) Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Fixes out of array access with RC_VARIANCE set to 0 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit f1caaa1c) Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Fixes infinite loop Fixes Ticket3086 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit cc0e47b5) Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Fixes out of bounds access Fixes CID732170 Fixes CID732169 No filter is known to use this function in a way so the issue can be reproduced. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit ab2bfb85) Conflicts: libavfilter/avfilter.c (cherry picked from commit 86591b244f3a27293153896813f5569b49b2f5c0) Conflicts: libavfilter/avfilter.c (cherry picked from commit 400c4f8fa3fd58951dc3f356b2b00484e3363694) Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Fixes Ticket2982 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit f31011e9) Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- Dec 21, 2013
-
-
Martin Storsjö authored
q4-q7/d8-d15 are supposed to not be clobbered by the callee. CC: libav-stable@libav.org Signed-off-by:
Martin Storsjö <martin@martin.st> (cherry picked from commit d307e408)
-
- Oct 27, 2013
-
-
Michael Niedermayer authored
Fixes Ticket2143 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 1e5271a9)
-
- Oct 26, 2013
-
-
Michael Niedermayer authored
Do not consider it an error if we have no frames and should discard one. This condition can easily happen when decoding is started from an I frame Fixes Ticket2811 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 08a89761) Conflicts: libavcodec/h264_refs.c
-
- Oct 24, 2013
-
-
Michael Niedermayer authored
Fixes Ticket2968 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 5ac6b602) Conflicts: libavcodec/h264_refs.c
-
- Sep 23, 2013
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 3728603f) Conflicts: libavcodec/ffv1enc.c (cherry picked from commit c900c6e5c26cd86cf34f9c8d4347cedbd01f3935)
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 454a11a1) Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Fixes out of array accesses Fixes Ticket2919 Found_by: ami_stuff Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 86736f59) Conflicts: libavcodec/pngdsp.c Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- Sep 22, 2013
-
-
Michael Niedermayer authored
Might fix Ticket1907 (I have no testcase so i cant test) Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 4758e32a) Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Fixes out of array access Fixes Ticket2895 Found-by:
Piotr Bandurski <ami_stuff@o2.pl> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 9a271a93) Conflicts: libavcodec/jpeg2000dec.c Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> Conflicts: libavcodec/j2kdec.c Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Fixes out of array accesses Fixes Ticket2850 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 3819db74) Conflicts: libavcodec/rpza.c
-
Michael Niedermayer authored
Fixes out of array accesses Fixes Ticket2844 Found-by: ami_stuff Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 880c73cd) Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Fixes Ticket1605 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 519ebb5e) Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 2f3bc512) Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Diego Biurrun authored
These warnings have no false positives and point to serious bugs. (cherry picked from commit 99853cb8) Conflicts: configure Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Fixes vlc decoding for hypothetical files that would contain such cases. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 0dfc01c2) Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 5ff41ffeb4cb9ea6df49757dc859619dc3d3ab4f) Conflicts: libavcodec/huffyuv.c (cherry picked from commit 9bc70fe1ae50fd2faa0b9429d47cfbda01a92ebc) Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Prevents out of array writes Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit f67a0d11) Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 95ab8d33e1a680f30a5a9605175112008ab81afc) Conflicts: libavcodec/huffyuv.c (cherry picked from commit 277def59fce10d91e3113e5c0f63e22bc4abfa88) Conflicts: libavcodec/huffyuv.c
-
Xi Wang authored
A negative `size' will bypass FFMIN(). In the subsequent memcpy() call, `size' will be considered as a large positive value, leading to a buffer overflow. Change the type of `size' to unsigned int to avoid buffer overflow, and simplify overflow checks accordingly. Signed-off-by:
Xi Wang <xi.wang@gmail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 4e692374) Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Xi Wang authored
Sanity checks like `data + size >= data_end || data + size < data' are broken, because `data + size < data' assumes pointer overflow, which is undefined behavior in C. Many compilers such as gcc/clang optimize such checks away. Use `size < 0 || size >= data_end - data' instead. Signed-off-by:
Xi Wang <xi.wang@gmail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 902cfe2f) Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- Aug 31, 2013
-
-
Michael Niedermayer authored
Fixes Ticket2861 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 227a0eb5) Conflicts: libavformat/avidec.c
-
- Jul 09, 2013
-
-
Michael Niedermayer authored
Fixes Ticket2574 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 970c8df7) Conflicts: libavcodec/mpeg12dec.c
-
- Jul 07, 2013
-
-
Michael Niedermayer authored
Fixes Ticket2632 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit b0092679)
-
Michael Niedermayer authored
Fix null pointer dereference Fixes Ticket2588 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit bf87908c) Conflicts: libavformat/rmdec.c
-
- Jun 21, 2013
-
-
Michael Niedermayer authored
This ensures that theres enough data for mpeg_probe() to recognize mpeg-ps Fixes Ticket2583 Based on code by: Paul B Mahol <onemda@gmail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit c605adbf)
-