Nmap Development mailing list archives
Re: Unbounded memory use in drda-info
From: Ron <ron () skullsecurity net>
Date: Wed, 15 Jun 2011 17:57:39 -0500
On Mon, 9 May 2011 17:54:50 +0200 Patrik Karlsson <patrik () cqure net> wrote:
I would of course prefer being able to call receive_bytes directly with the exact number of bytes to read, rather than the minimum. I know this has been discussed in the past [1] but I'm not certain about the current status.
The way Nessus solves this is by having both 'max length' and 'min length' arguments to the recv() and recvfrom()-style functions. By setting them to the same value, you can receive an exact number of bytes. I've found it to be super handy! Ron _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Unbounded memory use in drda-info David Fifield (May 04)
- Re: Unbounded memory use in drda-info Fyodor (May 08)
- Re: Unbounded memory use in drda-info Sebastian Dragomir (May 08)
- Re: Unbounded memory use in drda-info Patrik Karlsson (May 09)
- Re: Unbounded memory use in drda-info Ron (Jun 15)
- Re: Unbounded memory use in drda-info Patrik Karlsson (May 09)
- Re: Unbounded memory use in drda-info Sebastian Dragomir (May 08)
- Re: Unbounded memory use in drda-info Fyodor (May 08)