Bug#773667: unblock: djmount/0.71-7
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Please unblock package djmount
This version fixes RCs #674753 and #701680 (Segfault when attempting to read a file)
debdiff between 0.71-6 and 0.71-7:
- ----------------------------------
diff -Nru djmount-0.71/debian/changelog djmount-0.71/debian/changelog
- --- djmount-0.71/debian/changelog 2013-01-21 22:05:45.000000000 +0100
+++ djmount-0.71/debian/changelog 2014-12-21 19:35:47.000000000 +0100
@@ -1,3 +1,14 @@
+djmount (0.71-7) unstable; urgency=medium
+
+ * debian/patches:
+ + Added: 004-avoid-crash-by-using-size_t.patch:
+ - Fixes segfault on 64-bit architectures when reading files
+ from a mounted DLNA share (Closes: #674753, #701680)
+ Thanks to Bernhard Übelacker <bernhardu@vr-web.de> and
+ John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
+
+ -- Dario Minnucci <midget@debian.org> Sun, 21 Dec 2014 19:14:14 +0100
+
djmount (0.71-6) unstable; urgency=low
* debian/control:
diff -Nru djmount-0.71/debian/patches/004-avoid-crash-by-using-size_t.diff djmount-0.71/debian/patches/004-avoid-crash-by-using-size_t.diff
- --- djmount-0.71/debian/patches/004-avoid-crash-by-using-size_t.diff 1970-01-01 01:00:00.000000000 +0100
+++ djmount-0.71/debian/patches/004-avoid-crash-by-using-size_t.diff 2014-12-21 19:35:47.000000000 +0100
@@ -0,0 +1,18 @@
+Description: Avoid crash by using size_t instead of unsigned int
+Author: Bernhard Übelacker <bernhardu@vr-web.de>
+ John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
+Bug-Debian: https://bugs.debian.org/701680
+Last-Update: 2014-12-21
+Index: djmount/djmount/file_buffer.c
+===================================================================
+--- djmount.orig/djmount/file_buffer.c
++++ djmount/djmount/file_buffer.c
+@@ -212,7 +212,7 @@ FileBuffer_Read (FileBuffer* file, char*
+ * to return the exact number of bytes requested.
+ */
+ do {
+- unsigned int read_size = size - n;
++ size_t read_size = size - n;
+ if (n > 0) {
+ Log_Printf (LOG_DEBUG,
+ "UpnpReadHttpGet loop ! url '%s' "
diff -Nru djmount-0.71/debian/patches/series djmount-0.71/debian/patches/series
- --- djmount-0.71/debian/patches/series 2013-01-21 22:05:45.000000000 +0100
+++ djmount-0.71/debian/patches/series 2014-12-21 19:35:47.000000000 +0100
@@ -1,3 +1,4 @@
+004-avoid-crash-by-using-size_t.diff
003-support-fstab-mounting.diff
000_djmount.1.diff
001-libupnp-1.6.6.diff
- -- System Information:
Debian Release: 8.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 3.16.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJUlyZdAAoJEKgvu4Pz1XAz7FEQAIgLZ5drPWeJ3CKdCAfWj+7c
YP8gEiTU7O02orhGivkBOtnpsAkmd8BVcCjlkp6AjSf1lW7IMJbnWAnl4o+ww8OI
D8NOrSAhvQO6UdiN2Ez6xz613kay06GJvdxfbsbP6sdGnIwGEzOfTn77DQnXKsbn
N/YwlfxsgPMj+cQD3KZ22HA9rLi+fuXR9N0Q3u/4PdkFZu8nycJ0DUokeDwbHq9m
wt0DBcw3EuntGy7NLFBbXsuFAtYOmKqX0RUk3OmHdwidNI7R9H1XatMZf8e9p7PI
g5NbKTWLE9MHKKvon4tlvXh+etijy7e5KfSRfHYK+x3W/66R9XlVvg+SfaFRivrF
z1MbDH1mRYLGISbxde020qOimCr85cjz3BQCBdlS3j9Xyunc7eo1M4KEuSeJvsrb
By7QdjRlqRKRLWSozm3DrSeJh7d3KMqUNrRqKBCt7AQu5KwXFF+eClK1YF0/TUxq
Bi7yj1ZCdWk/eYd5ynrhPKnhPImJgY4jX6rklEfAlrYcWw3RyUTeMF3xxmJRVZVq
+enaOtw2egCX0WspOe5PeJwxS97kuyA8bOZgNBmal7j4lGF4AIlkV5+U5lFOI+zP
s2VsqCuB0X5xddle60LHr1RfeWt52p2DMiE+LRSsTVjlqQdApYTGWah1JJtfIcov
i6Hn+7ufeFwg4OSdlI54
=FmV5
-----END PGP SIGNATURE-----
Reply to: