[mate-panel] 06/10: Revert "debian/patches/0002_avoid-dereferencing-NULL-pointer.patch: Applied upstream."

Martin Wimpress flexiondotorg-guest at moszumanska.debian.org
Fri Jun 12 17:04:22 UTC 2015


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

flexiondotorg-guest pushed a commit to branch master
in repository mate-panel.

commit d4b525dc4a2318bf36c578c6dc55cf731318bec2
Author: Martin Wimpress <code at flexion.org>
Date:   Fri Jun 12 18:03:23 2015 +0100

    Revert "debian/patches/0002_avoid-dereferencing-NULL-pointer.patch: Applied upstream."
    
    This reverts commit 64bb1a6c1076c78cac2814f02769eceb23e003bd.
---
 .../0002_avoid-dereferencing-NULL-pointer.patch    | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/debian/patches/0002_avoid-dereferencing-NULL-pointer.patch b/debian/patches/0002_avoid-dereferencing-NULL-pointer.patch
new file mode 100644
index 0000000..b56f932
--- /dev/null
+++ b/debian/patches/0002_avoid-dereferencing-NULL-pointer.patch
@@ -0,0 +1,23 @@
+From 728faccf9ad9e6f6eff796c0d7f9f95a34e1885d Mon Sep 17 00:00:00 2001
+From: monsta <monsta at inbox.ru>
+Date: Thu, 5 Mar 2015 17:56:43 +0300
+Subject: [PATCH] fix logic a bit - avoid dereferencing NULL pointer
+
+---
+ mate-panel/libpanel-util/panel-list.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/mate-panel/libpanel-util/panel-list.c b/mate-panel/libpanel-util/panel-list.c
+index 154153c..3c0a9ee 100644
+--- a/mate-panel/libpanel-util/panel-list.c
++++ b/mate-panel/libpanel-util/panel-list.c
+@@ -166,7 +166,7 @@ panel_g_list_resort_item (GList        *list,
+ 
+ 	dl = g_list_find (list, data);
+ 
+-	if (dl != NULL)
++	if (dl == NULL)
+ 		return list;
+ 
+ 	while (dl->next &&
+

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



More information about the pkg-mate-commits mailing list