Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | RE: Turning on mem leak detection |
|---|---|
| Date: | Fri, 29 Oct 2004 15:13:14 -0400 |
I haven't see this addes to head for 2.0.12.. and only saw one patch for what I
thought might need three different files patched.
-----Original Message-----
From: Michael Scheidell On Behalf Of Lance Uyehara
Sent: Wednesday, October 27, 2004 1:47 PM
To: nessus@list.nessus.org
Subject: Re: Turning on mem leak detection
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
Nessus@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus
_______________________________________________
Nessus mailing list
Nessus@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | OS detection, Nelson, C.M. |
|---|---|
| Next by Date: | Re: Port scanning problems, Joshua Holland |
| Previous by Thread: | Re: Turning on mem leak detection, Lance Uyehara |
| Next by Thread: | NessusWeb installation - Who's an expert?, Mercer, Jeff |
| Indexes: | [Date] [Thread] [Top] [All Lists] |