Nmap Development mailing list archives

Re: Initmatch error with 5.51


From: David Fifield <david () bamsoftware com>
Date: Wed, 24 Aug 2011 08:46:39 -0700

On Wed, Aug 24, 2011 at 10:23:51AM -0500, Daniel Miller wrote:
The problem is with "[." followed by ".]", which denotes POSIX
collating symbols (http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap09.html).
I'm not sure why this hasn't come up before, but since the order of
elements inside [] brackets should not matter, I used this
substitution in vim:

:%s/\[\.\([^]]*\)/[\1./g

...to swap the period to the right side of the bracketed expression,
which should eliminate this confusion. Turned out to be about 50
match lines that changed, though that line (Generic kubiv worm)
seems to be the only one that could cause this error. Patches for
5.51 and svn attached.

Awesome, good detective work. I've applied your patch.

John, what version of libpcre do you have installed on your Arch Linux?
This might have been caused by a library change.

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: