libav.git
6 years agoswscale/utils: Clear pix buffers
Michael Niedermayer [Wed, 15 Jul 2015 15:20:19 +0000 (17:20 +0200)]
swscale/utils: Clear pix buffers

swscale/utils: Clear pix buffers

Fixes use of uninitialized memory
Fixes: a96874b9466b6edc660a519c7ad47977_signal_sigsegv_7ffff713351a_744_nc_sample.avi with memlimit 2147483648
Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Gbp-Pq: Name CVE-2015-6824.patch

6 years agoavcodec/alac: Clear pointers in allocate_buffers()
Michael Niedermayer [Mon, 13 Jul 2015 11:46:10 +0000 (13:46 +0200)]
avcodec/alac: Clear pointers in allocate_buffers()

avcodec/alac: Clear pointers in allocate_buffers()

Fixes: 06a4edb39ad8a9883175f9bd428334a2_signal_sigsegv_7ffff713351a_706_mov__alac__ALAC_6ch.mov
Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Gbp-Pq: Name CVE-2015-6823.patch

6 years agoavcodec/sanm: Reset sizes in destroy_buffers()
Michael Niedermayer [Mon, 13 Jul 2015 12:05:21 +0000 (14:05 +0200)]
avcodec/sanm: Reset sizes in destroy_buffers()

avcodec/sanm: Reset sizes in destroy_buffers()

Fixes crash in 1288a2fe8e9ae6b00ca40e089d08ca65_signal_sigsegv_7ffff71426a7_354_accident.san with allocation limit 65536

Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Gbp-Pq: Name CVE-2015-6822.patch

6 years agoavcodec/mpegvideo: Clear pointers in ff_mpv_common_init()
Michael Niedermayer [Thu, 9 Jul 2015 18:16:15 +0000 (20:16 +0200)]
avcodec/mpegvideo: Clear pointers in ff_mpv_common_init()

avcodec/mpegvideo: Clear pointers in ff_mpv_common_init()

This ensures that no stale pointers leak through on any path

Fixes: signal_sigsegv_c3097a_991_xtrem_e2_m64q15_a32sxx.3gp
Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Gbp-Pq: Name CVE-2015-6821.patch

6 years agoavcodec/aacsbr: check that the element type matches before applying SBR
Michael Niedermayer [Tue, 30 Jun 2015 22:05:43 +0000 (00:05 +0200)]
avcodec/aacsbr: check that the element type matches before applying SBR

avcodec/aacsbr: check that the element type matches before applying SBR

Fixes out of array access
Fixes: signal_sigsegv_3670fc0_2818_cov_2307326154_moon.mux
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Gbp-Pq: Name CVE-2015-6820.patch

6 years agoavcodec/pngdec: Only allow one IHDR chunk
Michael Niedermayer [Mon, 29 Jun 2015 17:08:05 +0000 (19:08 +0200)]
avcodec/pngdec: Only allow one IHDR chunk

avcodec/pngdec: Only allow one IHDR chunk

Multiple IHDR chunks are forbidden in PNG
Fixes inconsistency and out of array accesses

Fixes: asan_heap-oob_4d5c5a_1738_cov_2638287726_c-m2-8f2b481b7fd9bd745e620b7c01a18df2.png
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Gbp-Pq: Name CVE-2015-6818.patch

6 years agoavcodec/pngdec: Check IHDR/IDAT order
Michael Niedermayer [Wed, 26 Nov 2014 13:45:47 +0000 (14:45 +0100)]
avcodec/pngdec: Check IHDR/IDAT order

avcodec/pngdec: Check IHDR/IDAT order

Fixes out of array access
Fixes: asan_heap-oob_20a6c26_2690_cov_3434532168_mail.png
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
[sunweaver] - Port this commit to libav in Debian jessie.

Gbp-Pq: Name CVE-2014-9317.patch

6 years agoavcodec/vp8: Do not use num_coeff_partitions in thread/buffer setup
Michael Niedermayer [Wed, 30 Sep 2015 09:10:48 +0000 (11:10 +0200)]
avcodec/vp8: Do not use num_coeff_partitions in thread/buffer setup

avcodec/vp8: Do not use num_coeff_partitions in thread/buffer setup

The variable is not a constant and can lead to race conditions

Fixes: repro.webm (not reproducable with FFmpeg alone)
Found-by: Dale Curtis <dalecurtis@google.com>
Tested-by: Dale Curtis <dalecurtis@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Gbp-Pq: Name CVE-2015-6761.patch

6 years agodisable-configuration-warnings
Debian Multimedia Maintainers [Mon, 21 Jan 2019 14:30:50 +0000 (14:30 +0000)]
disable-configuration-warnings

Gbp-Pq: Name 03-disable-configuration-warnings.patch

6 years agoconfigure-disable-ebx-gcc-4.9
Debian Multimedia Maintainers [Mon, 21 Jan 2019 14:30:50 +0000 (14:30 +0000)]
configure-disable-ebx-gcc-4.9

Gbp-Pq: Name 02-configure-disable-ebx-gcc-4.9.patch

6 years agolibav (6:11.12-1~deb8u5) jessie-security; urgency=medium
Mike Gabriel [Mon, 21 Jan 2019 14:30:50 +0000 (14:30 +0000)]
libav (6:11.12-1~deb8u5) jessie-security; urgency=medium

  * Non-maintainer upload by the LTS team..
  * CVE-2015-1207: avformat/mov: Fix integer overflow in
    mov_read_udta_string().
  * CVE-2017-14169: In mxf_read_primer_pack() function, catch item_num
    being negative, to avoid bypassing the check for a large value.
  * CVE-2017-14223: avformat/asfdec: Fix DoS in asf_build_simple_index().
    Fix missing EOF check in loop.
  * CVE-2017-7863: Bail out if trns was found before IHDR or IDAT in PNG data.
  * CVE-2014-8542: Add case for jv to avcodec_align_dimensions2().
  * CVE-2017-7865: Add case for interplay_video to avcodec_align_dimensions2().

[dgit import unpatched libav 6:11.12-1~deb8u5]

6 years agoImport libav_11.12-1~deb8u5.debian.tar.xz
Mike Gabriel [Mon, 21 Jan 2019 14:30:50 +0000 (14:30 +0000)]
Import libav_11.12-1~deb8u5.debian.tar.xz

[dgit import tarball libav 6:11.12-1~deb8u5 libav_11.12-1~deb8u5.debian.tar.xz]

7 years agoImport libav_11.12.orig.tar.xz
Sebastian Ramacher [Sun, 18 Feb 2018 20:20:56 +0000 (20:20 +0000)]
Import libav_11.12.orig.tar.xz

[dgit import orig libav_11.12.orig.tar.xz]