[vorbis-tools] 04/04: Fix segmentation fault in vcut

Petter Reinholdtsen pere at moszumanska.debian.org
Thu Jun 9 08:21:43 UTC 2016


This is an automated email from the git hooks/post-receive script.

pere pushed a commit to branch debian/jessie
in repository vorbis-tools.

commit cb600b47383af93e1a90552810928c4d4c6b9533
Author: Martin Steghöfer <martin at steghoefer.eu>
Date:   Mon Mar 14 20:23:32 2016 +0100

    Fix segmentation fault in vcut
    
    Closes: #818037
---
 debian/patches/Fix-segfault-in-vcut.patch | 25 +++++++++++++++++++++++++
 debian/patches/series                     |  1 +
 2 files changed, 26 insertions(+)

diff --git a/debian/patches/Fix-segfault-in-vcut.patch b/debian/patches/Fix-segfault-in-vcut.patch
new file mode 100644
index 0000000..2a1a7d1
--- /dev/null
+++ b/debian/patches/Fix-segfault-in-vcut.patch
@@ -0,0 +1,25 @@
+From: =?utf-8?q?Martin_Stegh=C3=B6fer?= <martin at steghoefer.eu>
+Date: Mon, 14 Mar 2016 20:22:12 +0100
+Subject: vcut: Fix segmentation fault because of out-of-range index in header
+ writing
+
+Bug-Debian: https://bugs.debian.org/818037
+Bug: https://trac.xiph.org/ticket/2264
+Forwarded: https://trac.xiph.org/ticket/2264
+---
+ vcut/vcut.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/vcut/vcut.c b/vcut/vcut.c
+index d7ba699..17426b9 100644
+--- a/vcut/vcut.c
++++ b/vcut/vcut.c
+@@ -178,7 +178,7 @@ static int submit_headers_to_stream(vcut_state *s)
+ 	for(i=0;i<4;i++)
+ 	{
+ 		ogg_packet p;
+-		if(i < 4)  /* a header packet */
++		if(i < 3)  /* a header packet */
+ 		{
+ 			p.bytes = vs->headers[i].length;
+ 			p.packet = vs->headers[i].packet;
diff --git a/debian/patches/series b/debian/patches/series
index fb4b5ba..7bb22c1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,3 +8,4 @@ documentation-of-link-between-f-and-d-flag.patch
 0009-Fix-oggenc-crash-on-closing-raw-input-files.patch
 0015-Fix-Large-alloca-on-bad-AIFF-input-CVE-2015-6749.patch
 0016-Validate-channel-count-in-audio-header.patch
+Fix-segfault-in-vcut.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-xiph/vorbis-tools.git



More information about the pkg-xiph-commits mailing list