avoid circular list construction, when different versions of same .wdb is loaded twice. (BB #718)

git-svn: trunk@3383
remotes/push_mirror/metadata
Tomasz Kojm 18 years ago
parent f3a894d93c
commit e81da56bb5
  1. 5
      ChangeLog
  2. 4
      libclamav/regex_list.c

@ -1,3 +1,8 @@
Thu Dec 6 15:44:01 CET 2007 (edwin)
------------------------------------
* libclamav/regex_list.c: avoid circular list construction, when different
versions of same .wdb is loaded twice. (BB #718)
Thu Dec 6 15:41:04 CET 2007 (trog)
-----------------------------------
* libclamav/unarj.c: minor code cleanup

@ -1053,9 +1053,7 @@ static void tree_node_insert_nonbin(struct tree_node* node, struct tree_node* ne
while(node->next && !node->listend)
node = node->next;
node->listend = 0;
if(new->next == node) {
new->next = node->next;
}
new->next = node->next;
node->next = new;
new->listend=1;
return;

Loading…
Cancel
Save