Commit Graph

290 Commits

Author SHA1 Message Date
ph10
50436d4d08 Fix crash in pcre2test when displaying a wide character with a locale set. 2016-12-08 18:56:24 +00:00
ph10
2c10ac4062 Fix buffer overflow in partial match test for CRLF in empty buffer. 2016-12-08 17:55:26 +00:00
ph10
247d738a50 Fix small memory leak in error code path. 2016-12-08 16:52:26 +00:00
ph10
3a1c44b95d Fix \Q...\E bug in (*VERB) name when PCRE2_ALT_VERBNAMES and PCRE2_AUTO_CALLOUT
were both specified.
2016-11-27 16:14:33 +00:00
ph10
b6fd463cad Quantifiers following (*VERB)s were not being diagnosed. 2016-11-25 10:37:23 +00:00
ph10
ace2993a31 Fix bad behaviour for subroutine call in lookbehind when the called subroutine
contained an option setting such as (?s) and PCRE2_ANCHORED was set.
2016-11-23 17:17:57 +00:00
ph10
ca94ec16b7 Add pcre2_code_copy_with_tables(). 2016-11-22 15:37:02 +00:00
ph10
cb6fe9902e Give some offset information for errors in pcre2test hex patterns. 2016-11-22 10:33:13 +00:00
ph10
3f227ad94c Correct libpcre2posix typos (should be libpcre2-posix). 2016-11-22 10:18:08 +00:00
ph10
eb06f66ae7 Make idempotency guards more standards compliant. 2016-11-20 12:46:11 +00:00
ph10
e26cec42ec Add PCRE2_CALL_CONVENTION into prototypes. 2016-11-19 12:46:24 +00:00
ph10
12220c8b72 Fix overrun bug caused by conditional with assertion using too much memory. 2016-11-18 18:59:37 +00:00
ph10
e86513c76f Fix global overflow bug for get/copy names in pcre2test. 2016-11-10 17:08:27 +00:00
ph10
98b7a61606 Fix bad working space size calculation when PCRE2_AUTO_CALLOUT is set. 2016-11-04 16:35:47 +00:00
ph10
68b57e736a Fix overrun for unterminated number after \g' 2016-11-04 11:05:21 +00:00
ph10
bb33ec330b Add use_length to pcre2test. 2016-11-04 10:53:43 +00:00
ph10
de19b85886 List valgrind support when it is enabled. 2016-11-03 18:25:51 +00:00
ph10
2bb76aaab2 Add strerror() to pcre2test for failed file opening. 2016-11-03 18:18:53 +00:00
ph10
8957fc7c87 Remove all "register" declarations. 2016-11-03 17:35:59 +00:00
ph10
102c1f386f Fix callout string read overrun; do better with catching these when using
zero-terminated patterns under valgrind.
2016-11-01 17:45:54 +00:00
ph10
d9df3ee14b Fix auto-anchor bug when .* is inside an assertion. 2016-11-01 15:58:28 +00:00
ph10
7bfc994cf8 Fix read beyond unterminated quantifier at end of pattern. 2016-11-01 12:12:45 +00:00
ph10
5bc0bdf46f Fix pattern overrun in utf extended mode for a # comment that hit the end. 2016-10-31 17:46:56 +00:00
ph10
dedc03f8b9 Add fuzzer support features. 2016-10-31 17:19:00 +00:00
ph10
0b95c1b47c Fix bad memory calculation when the first branch of a lookbehind is of zero
length.
2016-10-28 16:09:08 +00:00
ph10
f9bba1c615 Fix bad lookup in global table for wide characters in extended mode and in
*VERB names.
2016-10-27 17:42:14 +00:00
ph10
17d07985cc Fix *MARK length check in UTF mode (it was checking characters, not code
units).
2016-10-26 16:59:22 +00:00
ph10
1d5d04b5e4 Diagnose an overall recursion (?0) inside a lookbehind as an error. 2016-10-23 17:05:09 +00:00
ph10
d399997578 The "offset" modifier in pcre2test was not being ignored (as documented) for
POSIX.
2016-10-23 16:18:15 +00:00
ph10
20d0109ed3 Fix optimization bugs when pattern starts with lookahead. 2016-10-18 11:22:40 +00:00
ph10
d709d81905 Add -t to pcre2grep. 2016-10-16 16:48:14 +00:00
ph10
5aea226401 Dmitry Cherniachenko's patch for colouring pcre2grep output in Windows. 2016-10-14 16:17:48 +00:00
ph10
e5e97f7c74 Added some "const" qualifiers to variables in pcre2grep. 2016-10-14 15:47:27 +00:00
ph10
a73c06ec9c Make pcre2grep work (using the interpreter) if compiled with JIT support when
the main library does not have it.
2016-10-13 17:20:08 +00:00
ph10
6703953f9f Add test for bug already fixed by the refactoring. 2016-10-13 16:08:08 +00:00
ph10
a96905b68a Implement buffer expansion in pcre2grep. 2016-10-11 16:40:09 +00:00
ph10
1c3311e510 Fix typo in CMakeLists.txt. 2016-10-05 17:03:52 +00:00
ph10
2fe6229033 Fix callout display bug in pcre2test. 2016-10-05 16:53:34 +00:00
ph10
33f4845d6c Major refactoring of pcre2_compile.c; see ChangeLog and HACKING. 2016-10-02 16:01:01 +00:00
ph10
a5b5d3f2dc Fix bug that caused chars > 255 not to be matched by classes like [\W\pL] when
PCRE2_UCP was not set.
2016-08-03 17:22:59 +00:00
ph10
b860064c6b Update pcre2test with the /utf8_input option, for generating wide characters in
non-UTF 16-bit and 32-bit modes.
2016-08-03 09:01:02 +00:00
ph10
843f4703f0 Tidy code to get rid of compiler warnings. 2016-07-27 18:00:12 +00:00
zherczeg
50c78ab698 Fix unaligned accesses on x86. Patch by Marc Mutz. 2016-07-15 10:02:19 +00:00
ph10
67342de8a9 Ignore "allcaptures" after DFA matching. 2016-07-06 15:02:24 +00:00
ph10
c8e722b99d Detect overflow in pcre2test pattern and subject repetition counts. 2016-07-06 08:42:50 +00:00
zherczeg
978b6281f7 Fix register overwite in JIT when SSE2 acceleration is enabled. 2016-07-01 08:56:59 +00:00
ph10
55101bc2d4 Documentation detrail and make HTML for 10.22-RC1. 2016-06-29 16:52:05 +00:00
ph10
698d86fafd File tidies for 10.22-RC1 2016-06-29 16:43:32 +00:00
ph10
263f9b3605 Add MSVC snprintf fix to pcre2posix.c, which no longer includes
pcre2_internal.h.
2016-06-26 16:21:23 +00:00
ph10
f5ed2a36aa Update patch for MSVC static compilation (see Bugzilla #1681). 2016-06-24 09:07:15 +00:00