Hi,

this time, I won't forget to attach the patch.

Cheers,
  Stefan.
diff -Nru rakarrack-0.6.1/debian/changelog rakarrack-0.6.1/debian/changelog
--- rakarrack-0.6.1/debian/changelog    2011-12-27 17:53:47.000000000 +0100
+++ rakarrack-0.6.1/debian/changelog    2018-07-22 01:36:05.000000000 +0200
@@ -1,3 +1,11 @@
+rakarrack (0.6.1-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Add debian/patches/05_fix_segfault.diff to fix a segfault on
+    startup (Closes: #892077)
+
+ -- Stefan Potyra <[email protected]>  Sun, 22 Jul 2018 01:36:05 +0200
+
 rakarrack (0.6.1-4) unstable; urgency=low
 
   * Switch to dpkg-source 3.0 (quilt) format
diff -Nru rakarrack-0.6.1/debian/patches/05_fix_segfault.diff 
rakarrack-0.6.1/debian/patches/05_fix_segfault.diff
--- rakarrack-0.6.1/debian/patches/05_fix_segfault.diff 1970-01-01 
01:00:00.000000000 +0100
+++ rakarrack-0.6.1/debian/patches/05_fix_segfault.diff 2018-07-22 
01:36:05.000000000 +0200
@@ -0,0 +1,22 @@
+Description: Fix segfault with uninitialiized variable
+ Ppreset is uninitialized in this function, which leads to a 
+ segfault later on.
+
+ Thanks to Ben Wiederhake for finding the details.
+
+ The bug was forwarded to Ryan via private mail on 10 Mar 2018.
+
+Author: Stefan Potyra <[email protected]>
+Bug-Debian: https://bugs.debian.org/892077
+
+--- rakarrack-0.6.1.orig/src/Looper.C
++++ rakarrack-0.6.1/src/Looper.C
+@@ -28,7 +28,7 @@
+ #include <math.h>
+ #include "Looper.h"
+ 
+-Looper::Looper (float * efxoutl_, float * efxoutr_, float size)
++Looper::Looper (float * efxoutl_, float * efxoutr_, float size) : Ppreset(0)
+ {
+   efxoutl = efxoutl_;
+   efxoutr = efxoutr_;
diff -Nru rakarrack-0.6.1/debian/patches/series 
rakarrack-0.6.1/debian/patches/series
--- rakarrack-0.6.1/debian/patches/series       2011-12-27 17:14:22.000000000 
+0100
+++ rakarrack-0.6.1/debian/patches/series       2018-07-22 01:36:05.000000000 
+0200
@@ -1,2 +1,3 @@
 04_fix_manpage.diff
 format-security.diff
+05_fix_segfault.diff

Attachment: signature.asc
Description: PGP signature

Reply via email to