[oe-commits] Graham Gower : matchbox-panel-0.9.3: fix uninitialised variable causing SIGBUS

git version control git at git.openembedded.org
Fri Oct 9 13:12:36 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 30a06f663f341086400aef4be1bfb66babb988ec
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=30a06f663f341086400aef4be1bfb66babb988ec

Author: Graham Gower <graham.gower at gmail.com>
Date:   Thu Oct  8 17:16:41 2009 +0000

matchbox-panel-0.9.3: fix uninitialised variable causing SIGBUS

As reported here:
http://lists.o-hand.com/matchbox/0289.html

I've not experienced the bug for over a month since applying this change.

Signed-off-by: Graham Gower <graham.gower at gmail.com>
Signed-off-by: Holger Hans Peter Freyther <zecke at selfish.org>
Signed-off-by: Marcin Juszkiewicz <marcin at juszkiewicz.com.pl>

---

 .../matchbox-panel-uninitialised-crash.patch       |   10 ++++++++++
 recipes/matchbox-panel/matchbox-panel_0.9.3.bb     |    5 +++--
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/recipes/matchbox-panel/matchbox-panel-0.9.3/matchbox-panel-uninitialised-crash.patch b/recipes/matchbox-panel/matchbox-panel-0.9.3/matchbox-panel-uninitialised-crash.patch
new file mode 100644
index 0000000..6177501
--- /dev/null
+++ b/recipes/matchbox-panel/matchbox-panel-0.9.3/matchbox-panel-uninitialised-crash.patch
@@ -0,0 +1,10 @@
+--- matchbox-panel-0.9.3/src/panel_app.c.orig
++++ matchbox-panel-0.9.3/src/panel_app.c
+@@ -249,6 +249,7 @@
+ 
+   papp = NEW(MBPanelApp);
+   
++  papp->name   = NULL;
+   papp->next   = NULL;
+   papp->win    = win;
+   papp->panel  = panel;
diff --git a/recipes/matchbox-panel/matchbox-panel_0.9.3.bb b/recipes/matchbox-panel/matchbox-panel_0.9.3.bb
index 5559122..3d50f5f 100644
--- a/recipes/matchbox-panel/matchbox-panel_0.9.3.bb
+++ b/recipes/matchbox-panel/matchbox-panel_0.9.3.bb
@@ -1,5 +1,6 @@
 require matchbox-panel.inc
-PR ="r4"
+PR ="r5"
 SRC_URI = "http://projects.o-hand.com/matchbox/sources/${PN}/0.9/${PN}-${PV}.tar.gz \
 	   file://mb-applet-battery-repaint-093.patch;patch=1 \
-	   file://mb-applet-system-monitor-crash.patch;patch=1"
+	   file://mb-applet-system-monitor-crash.patch;patch=1 \
+	   file://matchbox-panel-uninitialised-crash.patch;patch=1"





More information about the Openembedded-commits mailing list