[Openvas-devel] Memory leak in openvassd

Jan-Oliver Wagner Jan-Oliver.Wagner at greenbone.net
Mon Apr 18 11:57:51 CEST 2011


On Montag, 18. April 2011, Henri Doreau wrote:
> Valgrind reports a memory leak in the openvas scanner in 
> src/ntp_11.c:819. arglist structures are allocated but not g_free'd. The 
> missing arg_free_all() is commented out at the end of the function. 
> Uncommenting it solves the problem and doesn't seem to break anything 
> (scanner works fine and neither leak nor double free reported by 
> valgrind). Nevertheless I am maybe missing something. Does anyone 
> know/remember why was this line commented out? (It is like this since 
> the initial SVN revision).

reading the code I found no reason why not activate the commented our code.

Would be nice if you could find out how much memory leaked here when using
the full feed. But only if it is easy find out ...

Best

	Jan


-- 
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