Bug#539775: bogl has executable stack
NMU'ed to 3-day delayed together with fix for 564488; patch for this BR
(based on Fedora's patch) attached.
diff -Nru bogl-0.1.18/bowl.c bogl-0.1.18/bowl.c
--- bogl-0.1.18/bowl.c 2001-12-01 18:04:42.000000000 +0100
+++ bogl-0.1.18/bowl.c 2010-01-10 11:27:10.000000000 +0100
@@ -324,6 +324,14 @@
}
}
+static struct widget *callback_widget;
+
+static void
+callback (int percent)
+{
+ bowl_set_scale (callback_widget, percent);
+}
+
/* Start up BOWL. */
void
bowl_init (void)
@@ -342,13 +350,6 @@
if (!inited)
{
- struct widget *w;
-
- void callback (int percent)
- {
- bowl_set_scale (w, percent);
- }
-
bowl_init_palette(&pixmap_tux75);
bowl_flush ();
@@ -356,7 +357,7 @@
{
bowl_title (_("Please wait"));
bowl_new_text (_("Detecting mice..."));
- w = bowl_new_scale (100);
+ callback_widget = bowl_new_scale (100);
bowl_layout ();
boml_init (callback);
}
diff -Nru bogl-0.1.18/debian/changelog bogl-0.1.18/debian/changelog
--- bogl-0.1.18/debian/changelog 2009-04-23 18:02:03.000000000 +0200
+++ bogl-0.1.18/debian/changelog 2010-01-10 11:43:59.000000000 +0100
@@ -5,6 +5,7 @@
Ensures correct versioned dependency on libc. Closes: #564488.
* Drop the 'Provides: editor' for bogl-bterm-udeb. It's unused and most
likely incorrect.
+ * Avoid executable stack. Patch taken from Fedora. Closes: #539775.
-- Frans Pop <fjp@debian.org> Sun, 10 Jan 2010 11:33:52 +0100
Reply to: