Re: NessusClient Segmentation Fault



On Tue, Jan 03, 2006 at 09:01:18PM -0500, George A. Theall wrote:
> > When trying to obtain a list of plugins installed on the server using
> > NessusClient 1.0 RC2 on Red Hat Enterprise Linux 4, update 2 (installed
> > on an HP BL25p):
> > 
> >     *# /usr/local/bin/NessusClient -x -q -p <server> 1241 <username>
> >     <password>
> >     Segmentation fault
> 
> Hmm, happens to me too with RC1 on a Gentoo system. I don't see anything
> in the Bug Tracker about it. I tried using gdb to generate a backtrace
> as well as using strace but didn't see any obvious reason for the
> problem. Jan, let me know if you need any help debugging this.

The backtrace at the segfault is this:

#0  0x080748b9 in addslashes (in=0x0) at addslashes.c:15
#1  0x0804d62c in _cli_dump_plugins (plugins=0x84b5a70) at cli.c:602
#2  0x0804d96e in cli_dump_plugins (cli=0x80d9900) at cli.c:673
#3  0x0806d55d in main (argc=8, argv=0xbffff8a4) at nessus.c:1130

cli_dump_plugins calls _cli_dump_plugins(Context->plugins).
Context->plugins is a pointer to struct nessus_plugin.
_cli_dump_plugins expects a struct arglist pointer though. 
Chaos ensues.

It seems this is a leftover from the change from arglist to
nessus_plugin structs for the plugins in nessus client.


   Bernhard

-- 
Intevation GmbH                                 http://intevation.de/
Skencil                                           http://skencil.org/
Thuban                                  http://thuban.intevation.org/

Attachment: pgpZqcCKpWD15.pgp
Description: PGP signature



This archive was generated by a fusion of Pipermail 0.09 (Mailman edition) and MHonArc 2.6.8.