[Openvas-plugins] Superfluous calls to string() in plugins

Henri Doreau henri.doreau at greenbone.net
Wed Sep 21 16:34:16 CEST 2011


Hello,

I've noticed that the NVTs contain numerous calls to the string()
function with a single static string as parameter. Unless there is a
reason for these calls (I can see none) it would probably worth
avoiding them, as for each call the parameter is duplicated in memory.

If someone also wants to give a shot at removing the extra calls this
would be very welcome! :-)

Regards.

-- 
Henri Doreau |  Greenbone Networks GmbH  |  http://www.greenbone.net
Neuer Graben 17, 49074 Osnabrueck, Germany | AG Osnabrueck, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner


More information about the Openvas-plugins mailing list