[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#691115: unblock libdvdread/4.2.0+20120521-3



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package 'libdvdread4'

  unblock libdvdread/4.2.0+20120521-3

This update fix crashes (#688574).

Full diff is attached.

Thank you.

Regards,
Dmitry.
diff --git a/debian/changelog b/debian/changelog
index 261169d..aab071b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -0,0 +1,7 @@
+libdvdread (4.2.0+20120521-3) unstable; urgency=low
+
+  * Adding patch from Peter Van Eynde <pvaneynd@debian.org> to fix
+    miscompilation leading to a segfault (Closes: #688574).
+
+ -- Daniel Baumann <daniel.baumann@progress-technologies.net>  Mon, 24 Sep 2012 17:00:28 +0200
+
diff --git a/debian/patches/09-segfault.patch b/debian/patches/09-segfault.patch
new file mode 100644
index 0000000..82c16ea
--- /dev/null
+++ b/debian/patches/09-segfault.patch
@@ -0,0 +1,14 @@
+Author: Peter Van Eynde <pvaneynd@debian.org>
+Description: Fix miscompilation leading to a segfault (Closes: #688574).
+
+diff -Naurp libdvdread.orig/src/dvd_reader.c libdvdread/src/dvd_reader.c
+--- libdvdread.orig/src/dvd_reader.c	2012-09-24 16:55:49.681245164 +0200
++++ libdvdread/src/dvd_reader.c	2012-09-24 16:56:06.845356530 +0200
+@@ -30,6 +30,7 @@
+ #include <string.h>
+ #include <ctype.h>
+ #define _GNU_SOURCE
++#define __USE_GNU
+ #include <unistd.h>
+ #include <limits.h>
+ #include <dirent.h>
diff --git a/debian/patches/series b/debian/patches/series
index 79e397c..2eb96d6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,0 +9 @@
+09-segfault.patch

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: