This script causes nessusd from 1.11.1 to segfault if it is placed in
the plugin directory. 

http://www.nathanvalentine.org/udp-echo-detect-fancy.nasl

The segfault occurs on the 'targetaddr=get_host_ip();' line when nessusd
passes a null pointer to inet_ntoa(). 

libnasl/nasl/nessus_extentions.c: 566:

>struct arglist *  script_infos = harg_get_ptr(globals, "script_infos");
>struct in_addr * ip = plug_get_host_ip(script_infos);
>char * txt_ip = inet_ntoa(*ip);


-- 
---
Nathan Valentine - [EMAIL PROTECTED]
Jabber: NRVesKY AIM: NRVesKY ICQ: 39023424

Attachment: msg00108/pgp00000.pgp
Description: PGP signature

Reply via email to