Patch for NessusClient to avoid crash when
Jan-Oliver Wagner <[email protected]> Fri, 4 Nov 2005 01:05:44 +0100
| Newsgroups | gmane.comp.security.nessus.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I oberved a problem for the case when nessusd loaded a plugin with some error. nessusd started nonetheless but NessusClient crashes when connecting to it shortly after this error message: Error : we received a preference for the plugin SLAD Run but apparently the server has not loaded it The attached patch seems to fix the problem but I am unsure whether it does not cause any other trouble. I am hoping for some comments before committing the patch. Best Jan -- Jan-Oliver Wagner: www.intevation.de/~jan | GISpatcher: www.gispatcher.de Kolab Konsortium : www.kolab-konsortium.de | Thuban : thuban.intevation.org Intevation GmbH : www.intevation.de | Kolab : www.kolab.org FreeGIS : www.freegis.org | GAV : www.grass-verein.de _______________________________________________ Nessus-devel mailing list [email protected] http://mail.nessus.org/mailman/listinfo/nessus-devel
NessusClient.patch
(text/plain, 483 B)
Index: comm.c
===================================================================
RCS file: /usr/local/cvs/NessusClient/nessus/comm.c,v
retrieving revision 1.6
diff -u -3 -p -r1.6 comm.c
--- comm.c 3 Nov 2005 23:59:48 -0000 1.6
+++ comm.c 4 Nov 2005 00:00:55 -0000
@@ -417,6 +417,7 @@ comm_get_preferences(context)
name, plugname);
fprintf(stderr,
_("but apparently the server has not loaded it\n"));
+ continue;
}
}
pprefs = plugin->plugin_prefs;