In nessusd 2.0.12 a leak can be fixed with the following patch: I suspect the same patch will be required in libnessus/arglists.c, but I haven't checked it yet.

==== nessus-core/nessusd/pluginscheduler.c#2 - nessus/nessus-core/nessusd/pluginscheduler.c ====
@@ -134,6 +134,15 @@
nc->occurences = 1;
nc->next = cache[h].next;
nc->prev = NULL;
+
+ /*
+ * If we are doubling up on hashes be sure to fix the prev pointer! Otherwise
+ * cache_dec() won't work properly later.
+ */
+ if (cache[h].next != NULL) {
+ cache[h].next->prev = nc;
+ }
+
cache[h].next = nc;


 return nc;

_______________________________________________
Nessus mailing list
[EMAIL PROTECTED]
http://mail.nessus.org/mailman/listinfo/nessus

Reply via email to