qulogic/libgnt
Clone
Summary
Browse
Changes
Graph
Fix CVE-2010-0420, a possible remote crash when handling chat room
v2.6.6
2010-02-16, Mark Doliner
d9455f467795
Parents
56350b0ee0a3
Children
bd03422aabf4
Fix CVE-2010-0420, a possible remote crash when handling chat room
buddy names.
1 files changed, 4 insertions(+), 0 deletions(-)
+4
-0
gnttree.c
--- a/gnttree.c Tue Feb 09 16:54:32 2010 +0000
+++ b/gnttree.c Tue Feb 16 08:58:45 2010 +0000
@@ -1346,6 +1346,10 @@
{
GntTreeRow *pr = NULL;
+ if (g_hash_table_lookup(tree->hash, key)) {
+ gnt_tree_remove(tree, key);
+ }
+
row->tree = tree;
row->key = key;
row->data = NULL;