1 |
ChangeLog for PCRE |
ChangeLog for PCRE |
2 |
------------------ |
------------------ |
3 |
|
|
4 |
|
Version 6.2 01-Aug-05 |
5 |
|
--------------------- |
6 |
|
|
7 |
|
1. There was no test for integer overflow of quantifier values. A construction |
8 |
|
such as {1111111111111111} would give undefined results. What is worse, if |
9 |
|
a minimum quantifier for a parenthesized subpattern overflowed and became |
10 |
|
negative, the calculation of the memory size went wrong. This could have |
11 |
|
led to memory overwriting. |
12 |
|
|
13 |
|
2. Building PCRE using VPATH was broken. Hopefully it is now fixed. |
14 |
|
|
15 |
|
3. Added "b" to the 2nd argument of fopen() in dftables.c, for non-Unix-like |
16 |
|
operating environments where this matters. |
17 |
|
|
18 |
|
4. Applied Giuseppe Maxia's patch to add additional features for controlling |
19 |
|
PCRE options from within the C++ wrapper. |
20 |
|
|
21 |
|
5. Named capturing subpatterns were not being correctly counted when a pattern |
22 |
|
was compiled. This caused two problems: (a) If there were more than 100 |
23 |
|
such subpatterns, the calculation of the memory needed for the whole |
24 |
|
compiled pattern went wrong, leading to an overflow error. (b) Numerical |
25 |
|
back references of the form \12, where the number was greater than 9, were |
26 |
|
not recognized as back references, even though there were sufficient |
27 |
|
previous subpatterns. |
28 |
|
|
29 |
|
6. Two minor patches to pcrecpp.cc in order to allow it to compile on older |
30 |
|
versions of gcc, e.g. 2.95.4. |
31 |
|
|
32 |
|
|
33 |
Version 6.1 21-Jun-05 |
Version 6.1 21-Jun-05 |
34 |
--------------------- |
--------------------- |
35 |
|
|