
Nmap Development mailing list archives
Re: [PATCH] NSE - escaping attribute content - corrected
From: Stoiko Ivanov <stoiko () xover htu tuwien ac at>
Date: Sat, 5 May 2007 13:40:59 +0200
Hi, On Tue, May 01, 2007 at 07:46:05PM +0000, Brandon Enright wrote: ...snip...
It does however it also introduces a memory leak. xml_convert() mallocs memory that needs to be freed.
This should be fixed with the version of the patch attached to this mail. Additionally I found another small memory leak (script_output wasn't freed in printhostscriptresults() ) and fixed this too.
...snip...
Respectfully, Brandon
Brandon: thank you very much for the comment and the tips - I'll try to keep them in mind for future bug-fixes.
cheers stoiko
Attachment:
output.cc.patch2
Description:
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- nmap 4.21 alpha4 escaping attribute content Tim Rupp (Apr 23)
- [PATCH] NSE - escaping attribute content Stoiko Ivanov (May 01)
- Re: [PATCH] NSE - escaping attribute content Tim Rupp (May 01)
- Re: [PATCH] NSE - escaping attribute content Brandon Enright (May 01)
- Re: [PATCH] NSE - escaping attribute content - corrected Stoiko Ivanov (May 05)
- Re: [PATCH] NSE - escaping attribute content - corrected Diman Todorov (May 05)
- [PATCH] NSE - escaping attribute content Stoiko Ivanov (May 01)