[Openvas-devel] segfault : openvas-nasl 5.0.1

Jan-Oliver Wagner Jan-Oliver.Wagner at greenbone.net
Fri Jun 15 08:17:30 CEST 2012


Hi Sebastien,

thanks for the hint. I fixed this and several other
places with r13600.

But this may only solve the segfault and now you may
see other interesting problems.

The source of the actual problem is somewhere else.
The question to follow is: Why is there no NVTI object?

Can you check the NVTI cache?

Best

	Jan

On Dienstag, 12. Juni 2012, Sebastien Aucouturier wrote:
> the faulty is in get_plugin_preference function  (misc/plugutils.c)
> 
> with the following code :
> char *plug_name = nvti_name (arg_get_value (desc, "NVTI"));
> 
> arg_get_value (desc, "NVTI") return null ...
> 
> so nvti_name segfault ;-)
> because :
> gchar *
> nvti_name (const nvti_t * n)
> {
>    return (n->name);
> }



-- 
Dr. Jan-Oliver Wagner |  ++49-541-335084-0  |  http://www.greenbone.net/
Greenbone Networks GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 202460
Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner


More information about the Openvas-devel mailing list