Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: [nmap-svn] r32524 - nmap
From: Daniel Miller <bonsaiviking () gmail com>
Date: Mon, 25 Nov 2013 14:59:30 -0600

On 11/25/2013 02:35 PM, David Fifield wrote:
Good find here. I think what you actually want, though, is
   char ipaddr[INET6_ADDRSTRLEN];
   Snprintf(fmt, sizeof(fmt), "nameserver %%%us", INET6_ADDRSTRLEN-1);
INET6_ADDRSTRLEN already includes space for the null byte. RFC 2553 has
INET6_ADDRSTRLEN == 46, which is one more than

David Fifield

Thanks, fixed this in r32525.

Sent through the dev mailing list
Archived at http://seclists.org/nmap-dev/

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]