Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
Please unblock package zapping Zapping in testing segfaults immediately upon startup, which was reported as #852018. This QA upload fixes the crash with a targeted patch, it does not change anything else in the packaging. helge@samd:/tmp$ debdiff zapping_0.10~cvs6-10.dsc zapping_0.10~cvs6-11.dsc diff -Nru zapping-0.10~cvs6/debian/changelog zapping-0.10~cvs6/debian/changelog --- zapping-0.10~cvs6/debian/changelog 2015-09-04 18:41:01.000000000 +0200 +++ zapping-0.10~cvs6/debian/changelog 2017-01-26 19:25:31.000000000 +0100 @@ -1,3 +1,11 @@ +zapping (0.10~cvs6-11) unstable; urgency=medium + + * QA upload. + * Apply patch from Bernhard Übelacker to fix segfault; Closes: #852018. + + + -- Helge Kreutzmann <deb...@helgefjell.de> Thu, 26 Jan 2017 19:25:31 +0100 + zapping (0.10~cvs6-10) unstable; urgency=medium * QA upload. diff -Nru zapping-0.10~cvs6/debian/patches/18-Fix-Segfault.patch zapping-0.10~cvs6/debian/patches/18-Fix-Segfault.patch --- zapping-0.10~cvs6/debian/patches/18-Fix-Segfault.patch 1970-01-01 01:00:00.000000000 +0100 +++ zapping-0.10~cvs6/debian/patches/18-Fix-Segfault.patch 2017-01-26 19:25:31.000000000 +0100 @@ -0,0 +1,23 @@ +From 1ab9edb2b93ee6b8c01f439309d3417a8e8c1344 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Bernhard=20=C3=9Cbelacker?= <bernha...@mailbox.org> +Date: Thu, 26 Jan 2017 17:16:23 +0100 +Subject: Fix alloc_aligned on 64bit. + +Even better would probably be to define HAVE_MEMALIGN. + +https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852018 +--- + +Index: zapping-0.10cvs6/common/alloc.c +=================================================================== +--- zapping-0.10cvs6.orig/common/alloc.c ++++ zapping-0.10cvs6/common/alloc.c +@@ -34,7 +34,7 @@ alloc_aligned(size_t size, unsigned int + if (!(b = malloc(size + align))) + return NULL; + +- p = (void *)(((long)((char *) b + align)) & -align); ++ p = (void *)(((size_t)((char *) b + ((size_t)align))) & -((size_t)align)); + + ((void **) p)[-1] = b; + diff -Nru zapping-0.10~cvs6/debian/patches/series zapping-0.10~cvs6/debian/patches/series --- zapping-0.10~cvs6/debian/patches/series 2015-09-04 18:37:27.000000000 +0200 +++ zapping-0.10~cvs6/debian/patches/series 2017-01-26 19:25:00.000000000 +0100 @@ -16,3 +16,4 @@ 15-Misc-warnings.patch 16-Glib-single-include.patch 17-Do-not-show-the-build-date.patch +18-Fix-Segfault.patch unblock zapping/0.10~cvs6-11 -- System Information: Debian Release: 9.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to de_DE.UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) -- Dr. Helge Kreutzmann deb...@helgefjell.de Dipl.-Phys. http://www.helgefjell.de/debian.php 64bit GNU powered gpg signed mail preferred Help keep free software "libre": http://www.ffii.de/
signature.asc
Description: Digital signature