1
From: Daniel Veillard <veillard@redhat.com>
2
Date: Wed, 11 Sep 2013 15:11:27 +0800
3
Subject: Fix a potential NULL dereference in tree code
5
https://bugzilla.gnome.org/show_bug.cgi?id=707750
7
Also reported by Gaurav, simple fix to check the pointer before
11
1 file changed, 2 insertions(+), 1 deletion(-)
13
diff --git a/tree.c b/tree.c
14
index 7e5af26..efc3ca2 100644
17
@@ -9780,7 +9780,8 @@ leave_node:
18
if (clone->parent != NULL)
19
clone->parent->last = clone;
20
clone = clone->parent;
21
- parentClone = clone->parent;
23
+ parentClone = clone->parent;
25
* Process parent --> next;