Browse code

wdb patch from edvin - bb#303

git-svn: trunk@2757

aCaB authored on 2007/02/18 04:16:19
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Sat Feb 17 01:31:45 CET 2007 (acab)
2
+-----------------------------------
3
+  * libclamav/regex_list.c: Close #303 - patch from Edvin
4
+
1 5
 Thu Feb 15 16:34:48 CET 2007 (tk)
2 6
 ---------------------------------
3 7
   * libclamav/rtf.c: add more sanity checks (Edwin)
... ...
@@ -1217,6 +1217,7 @@ static inline void tree_node_insert_nonbin(struct tree_node* node, struct tree_n
1217 1217
 				node->listend = 0;
1218 1218
 				node->next = new;
1219 1219
 				new->listend=1;
1220
+				return;
1220 1221
 			}
1221 1222
 		node->u.children = cli_realloc(node->u.children,sizeof(node->u.children[0])*(2));
1222 1223
 		if(node->u.children) {