On Thu, Aug 14, 2003 at 03:47:12PM -0500, EnergyLad wrote:
> 
> I notice that even with safe_checks on, this script runs a destructive
> check. (Or at least, it reports back as though it ran in destructive
> mode.)
> 
> I know that this is someone else's script, but will anyone care if I just
> fix it and check it back in? Or rather, should I care if anyone cares, so
> long as it works as it should?

There was a typo in the plugin - it actually ran in safe check mode, but
reports the intrusive report.

Here's the patch :
127c127
<  security_hole(port:port, data:report);
---
>  security_hole(port:port, data:rep);


(in the previous case, 'report' is NULL as it's not defined, and as a
result the plugin uses the default report output as a fallback)

Reply via email to