Nmap Development mailing list archives

Re: Quick patch for Intel-based Macintosh


From: Kurt Grutzmacher <grutz () jingojango net>
Date: Wed, 25 Jan 2006 01:54:35 -0800

More Macintel fun:

gdb) r 192.168.1.101 -A
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /Users/grutz/nmap/nmap-3.98BETA1-grutz/nmap  
192.168.1.101 -A
Current language:  auto; currently c

Starting Nmap 3.98BETA1 ( http://www.insecure.org/nmap/ ) at  
2006-01-25 01:16 PST

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0xc0000000
0x000449bd in compile_regex (options=0, oldims=0,  
brackets=0xbfffb434, codeptr=0xffffaf41, ptrptr=0xffffffff,  
errorcodeptr=0xffffffff, lookbehind=-1, skipbytes=-1,  
firstbyteptr=0xffffffff, reqbyteptr=0xbfffaf2d, bcptr=0xbfffaf24,  
cd=0xbfffb3e4) at ./pcre_compile.c:1916
1916                for (c = 0; c < 32; c++) classbits[c] |= ~cbits[c 
+cbit_digit];

Checked libpcre 6.1 and this statement is the same in pcre_compile.c

I don't have the time to debug it now but perhaps somebody else will  
have seen this in libpcre or something?



_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev


Current thread: