summaryrefslogtreecommitdiff
path: root/ext/pcre/pcre2lib
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade to PCRE2 10.34Christoph M. Becker2020-04-2238-4628/+7351
| | | | We backport the slightly modified variant from master.
* Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2019-10-071-5/+5
|\
| * Backport fix for uaf during pcre jit fallbackNikita Popov2019-10-071-5/+5
| | | | | | | | | | Backports parts of https://vcs.pcre.org/pcre2?view=revision&revision=1175 fixing https://bugs.exim.org/show_bug.cgi?id=2453.
* | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2019-09-181-1/+14
|\ \ | |/
| * Fixed bug #78272Nikita Popov2019-09-181-1/+14
| | | | | | | | | | | | | | | | Use MAP_JIT only when running under hardened runtime, because MAP_JIT is incompatible with fork(). The check is based on https://github.com/mono/mono/commit/f879e35e3ed7496d819bd766deb8be6992d068ed.
| * Backport MAP_JIT fixes from PCRE2 10.33Nikita Popov2019-09-181-3/+43
| | | | | | | | | | | | | | | | This is intended to fix the primary issue from bug #77260. Prior to macOS 10.14 multiple MAP_JIT segments were not permitted, leading to mmap failures and corresponding "no more memory" errors on macOS 10.13.
* | Merge branch 'PHP-7.3' into PHP-7.4Stanislav Malyshev2019-07-291-1/+1
|\ \ | |/ | | | | | | * PHP-7.3: Fix #78338: Array cross-border reading in PCRE
| * Fix #78338: Array cross-border reading in PCREChristoph M. Becker2019-07-291-1/+1
| | | | | | | | We backport r1092 from pcre2.
* | Upgrade bundled PCRE2 to 10.33Anatol Belski2019-05-2532-4459/+7212
| |
* | Disable PACKAGE_* preprocessor symbolsPeter Kokot2019-04-131-5/+0
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Autoconf defines PACKAGE_* symbols: - PACKAGE_NAME - PACKAGE_VERSION - PACKAGE_TARNAME - PACKAGE_STRING - PACKAGE_BUGREPORT - PACKAGE_URL and appends them to the generated config.h.in files. With AC_INIT change via afd52f9d9986d92dd0c63832a07ab1a16bf11d53 where package version, URL, bug report location and similar meta data are defined, these preprocessor macros are then non empty strings in the generated configuration header file. When using phpize, PHP shares the config files in extensions, warnings of redefined macros appear, such as: - `warning: 'PACKAGE_NAME' macro redefined` This patch now disables these non utilized symbols in the generated config header files. Better practice would be to include only API specific headers where needed but this would require even more refactorings. Some extensions such as pcre, pgsql, and pdo_pgsql solve this issue by undefining some of these symbols before including the library configuration headers in the code also. Because these symbols can be defined by any library which uses Autotools. Additionally, the unused PACKAGE_* symbols were cleaned for the bundled libmbfl library and with this patch not needed undef code removed.
* Fixed bug #76909 preg_match difference between 7.3 and < 7.3Anatol Belski2018-09-211-3/+3
| | | | Applied upstream patch, see https://bugs.exim.org/show_bug.cgi?id=2321
* Upgrade PCRE2 to 10.32Anatol Belski2018-09-2136-4038/+4870
| | | | (cherry picked from commit d918e0776b5168aed2707b0ca500589844f0faa8)
* Remove extra semicolonsGabriel Caruso2018-07-252-2/+2
|
* Upgrade bundled PCRE2 to 10.31Anatol Belski2018-02-1437-3171/+4888
|
* Trailing whitespaces on ext/*Gabriel Caruso2018-01-041-1/+1
| | | | Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
* Trailing whitespacesGabriel Caruso2018-01-036-13/+13
| | | | Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
* Remove unused fileAnatol Belski2017-11-141-214/+0
|
* Patch core for PCRE2 supportAnatol Belski2017-11-1357-0/+89523
RFC https://wiki.php.net/rfc/pcre2-migration