[gnome-main-menu] 01/03: debian/patches: Add 1004_fix_out_of_bounds_array_access.patch. (Closes: #800352).

Martin Wimpress flexiondotorg-guest at moszumanska.debian.org
Mon Sep 28 13:45:34 UTC 2015


This is an automated email from the git hooks/post-receive script.

flexiondotorg-guest pushed a commit to branch master
in repository gnome-main-menu.

commit ea1f9fe2e373be2c6ffe14528e4e30e7eecf78de
Author: Martin Wimpress <code at flexion.org>
Date:   Mon Sep 28 14:43:12 2015 +0100

    debian/patches: Add 1004_fix_out_of_bounds_array_access.patch. (Closes: #800352).
---
 .../patches/1004_fix_out_of_bounds_array_access.patch   | 17 +++++++++++++++++
 debian/patches/series                                   |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/1004_fix_out_of_bounds_array_access.patch b/debian/patches/1004_fix_out_of_bounds_array_access.patch
new file mode 100644
index 0000000..4b21ea3
--- /dev/null
+++ b/debian/patches/1004_fix_out_of_bounds_array_access.patch
@@ -0,0 +1,17 @@
+Description: fix out-of-bounds array access
+Author: Monsta <monsta at inbox.ru>
+--- a/main-menu/src/main-menu-ui.c
++++ b/main-menu/src/main-menu-ui.c
+@@ -450,10 +450,12 @@ main_menu_ui_finalize (GObject *g_obj)
+ 	if (priv->recently_used_store_monitor)
+ 		g_file_monitor_cancel (priv->recently_used_store_monitor);
+ 
+-	for (i = 0; i < 4; ++i) {
++	for (i = 0; i < 3; ++i) {
+ 		g_object_unref (G_OBJECT (g_object_get_data (
+ 			G_OBJECT (priv->more_buttons [i]), "double-click-detector")));
++	}
+ 
++	for (i = 0; i < 4; ++i) {
+ 		g_object_unref (G_OBJECT (g_object_get_data (
+ 			G_OBJECT (priv->panel_buttons [i]), "double-click-detector")));
diff --git a/debian/patches/series b/debian/patches/series
index c72b7fc..b541212 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 1001_build-against-libmate-slab-dev.patch
 1002_update-desktop-files.patch
 1003_adjust_disable-log-out_gschema_key.patch
+1004_fix_out_of_bounds_array_access.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/gnome-main-menu.git



More information about the pkg-mate-commits mailing list