[pcre-dev] JIT access violation

2013-05-13 Thread Ralf Junker
I am seeing an access violation and programm crash running the following script in pcretest, Win32: /\Q\ \E/S++ \x{20}\P Can someone reproduce my findings? Win64 works fine, by the way. Ralf -- Error 1. 0x130610 (Thread 0x0EC8): Access overrun: Attempt to access 2 byte(s) at

Re: [pcre-dev] JIT access violation

2013-05-13 Thread Ralf Junker
On 13.05.2013 12:36, Zoltán Herczeg wrote: this is quite interesting. Am I see right, that your pattern only contains two fixed characters (backslash and space)? On a 32 bit Linux system, in 8 bit mode, that is 67 bytes long (56 bytes for header, 11 for pattern) instead of 69. That read

Re: [pcre-dev] JIT access violation

2013-05-13 Thread Zoltán Herczeg
Hi, yes, it helps a bit, since now the length is 69 on my side as well. However, I still cannot see the buffer overflow, since the offset is 64. The value (OP_KET) is also correct. Could you print the re after the re = (REAL_PCRE *)(PUBL(malloc))(size); and common-start and GET(common-start,

Re: [pcre-dev] JIT access violation

2013-05-13 Thread Zoltán Herczeg
Hi, yes, it helps a bit, since now the length is 69 on my side as well. However, I still cannot see the buffer overflow, since the offset is 64. The value (OP_KET) is also correct. Could you print the re after the re = (REAL_PCRE *)(PUBL(malloc))(size); and common-start and GET(common-start,

Re: [pcre-dev] JIT access violation

2013-05-13 Thread Zoltán Herczeg
Hi, yes, it helps a bit, since now the length is 69 on my side as well. However, I still cannot see the buffer overflow, since the offset is 64. The value (OP_KET) is also correct. Could you print the re after the re = (REAL_PCRE *)(PUBL(malloc))(size); and common-start and GET(common-start,