diff options
Diffstat (limited to 'audio/rakarrack/patches/05_fix_segfault.diff')
-rw-r--r-- | audio/rakarrack/patches/05_fix_segfault.diff | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/audio/rakarrack/patches/05_fix_segfault.diff b/audio/rakarrack/patches/05_fix_segfault.diff new file mode 100644 index 0000000000..cfceb1bacc --- /dev/null +++ b/audio/rakarrack/patches/05_fix_segfault.diff @@ -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 <stefan@potyra.de> +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_; |