[SCM] gsequencer/master: provide patch to fix BUG:#861908

jkraehemann-guest at users.alioth.debian.org jkraehemann-guest at users.alioth.debian.org
Fri May 5 16:41:31 UTC 2017


The following commit has been merged in the master branch:
commit c2969491cfe00febae0130592bd8cd61ada5e9d2
Author: Joël Krähemann <jkraehemann-guest at users.alioth.debian.org>
Date:   Fri May 5 18:39:51 2017 +0200

    provide patch to fix BUG:#861908

diff --git a/debian/patches/fix-uninitialized-pointer.patch b/debian/patches/fix-uninitialized-pointer.patch
new file mode 100644
index 0000000..19a1554
--- /dev/null
+++ b/debian/patches/fix-uninitialized-pointer.patch
@@ -0,0 +1,25 @@
+Description: fix uninitialized pointer access
+ AgsMachineSeletor may be passes an unintialized pointer to gtk_widget_show_all().
+ It might cause program failure or SIGSEGV.
+Author: Joël Krähemann <jkraehemann-guest at users.alioth.debian.org>
+Origin: upstream
+Bug: #861908
+Forwarded: not-needed
+Applied-Upstream: http://git.savannah.nongnu.org/cgit/gsequencer.git/commit/?h=0.8.x&id=0cd780a52585d648412075c7500eb4b301e82ae0
+Last-Update: 2017-05-05
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/ags/X/editor/ags_machine_selector.c
++++ b/ags/X/editor/ags_machine_selector.c
+@@ -566,7 +566,10 @@
+   }
+   
+   /* show */
+-  gtk_widget_show_all((GtkWidget *) keys);
++  if((AGS_MACHINE_SELECTOR_SHOW_SHIFT_PIANO & (machine_selector->flags)) != 0){
++    gtk_widget_show_all((GtkWidget *) keys);
++  }
++  
+   gtk_widget_show_all((GtkWidget *) popup);
+ 
+   return(popup);
diff --git a/debian/patches/series b/debian/patches/series
index 753fc02..3fa0964 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 disable-functional-tests.patch
 fix-gtk-doc-symlinks.patch
+fix-uninitialized-pointer.patch

-- 
gsequencer packaging



More information about the pkg-multimedia-commits mailing list