Hi Fyodor, On Sun, Nov 05, 2006 at 11:47:23AM -0800, Fyodor wrote: > On Sun, Nov 05, 2006 at 05:15:55PM +0000, Jochen Voss wrote: > > recently I found some logic errors in nmap's copy of the pcre library. > > Thanks for the report. Nmap currently uses LibPCRE 6.4. The latest > version at www.pcre.org is 6.7. I took a quick look at that version > and found that the code you report in 1) and 2) still seems to be > there, while 3) may have already been fixed.
I think all of these problems are fixed in 6.7: [EMAIL PROTECTED] [~] grep -R "ims.*PCRE_CASELESS" pcre-6.7 pcre-6.7/pcre_dfa_exec.c: int otherd = ((ims & PCRE_CASELESS) != 0)? fcc[d] : d; pcre-6.7/pcre_dfa_exec.c: if ((ims & PCRE_CASELESS) != 0) pcre-6.7/pcre_dfa_exec.c: if ((ims & PCRE_CASELESS) != 0) pcre-6.7/pcre_dfa_exec.c: if ((ims & PCRE_CASELESS) != 0) pcre-6.7/pcre_dfa_exec.c: if ((ims & PCRE_CASELESS) != 0) pcre-6.7/pcre_exec.c:if ((ims & PCRE_CASELESS) != 0) pcre-6.7/pcre_exec.c: if ((ims & PCRE_CASELESS) != 0 && pcre-6.7/pcre_exec.c: if ((ims & PCRE_CASELESS) != 0) pcre-6.7/pcre_exec.c: if ((ims & PCRE_CASELESS) != 0) pcre-6.7/pcre_exec.c: if ((ims & PCRE_CASELESS) != 0) pcre-6.7/pcre_exec.c:ims = re->options & (PCRE_CASELESS|PCRE_MULTILINE|PCRE_DOTALL); All of these look correct to me. I think you should be fine by just using pcre 6.7. Do you agree? All the best, Jochen -- http://seehuhn.de/
signature.asc
Description: Digital signature