History log of /PHP-7.4/ext/pcre/php_pcre.c (Results 126 – 150 of 516)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-5.6.26RC1, php-7.1.0RC1, php-7.0.11RC1, php-7.1.0beta3, php-5.6.25, php-7.0.10, php-7.1.0beta2, php-5.6.25RC1, php-7.0.10RC1
# 39423e42 21-Jul-2016 Christoph M. Becker

Implement #47456: Missing PCRE option 'J'

While it is possible to force the same behavior by setting the internal
option (?J), having a dedicated modifier appears to be useful. After all

Implement #47456: Missing PCRE option 'J'

While it is possible to force the same behavior by setting the internal
option (?J), having a dedicated modifier appears to be useful. After all,
J is even listed on the "Pattern Modifiers" man page[1], but the description
referrs to (?J).

[1] <http://php.net/manual/en/reference.pcre.pattern.modifiers.php>

show more ...


# 1d7ec685 29-Aug-2016 Anatol Belski

fix possible memory leak


# 315c0536 27-Jul-2016 Christoph M. Becker

Fix #72688: preg_match missing group names in matches

We have to multiply with 0x100 to properly scale the high byte.


Revision tags: php-7.1.0beta1, php-5.6.24, php-7.0.9, php-5.5.38, php-5.6.24RC1, php-7.1.0alpha3, php-7.0.9RC1
# bd74e7d0 23-Jun-2016 Xinchen Hui

Fixed bug #72476 (Memleak in jit_stack)


# e4539042 22-Jun-2016 Anatol Belski

Fixed bug #72463 mail fails with invalid argument


Revision tags: php-7.1.0alpha2, php-7.0.8, php-5.6.23, php-5.5.37, php-5.6.23RC1, php-7.0.8RC1, php-7.1.0alpha1, php-5.6.22, php-5.5.36, php-7.0.7
# 0b3a4c61 16-May-2016 Xinchen Hui

Revert "Revert "fix #72143 (preg_replace uses int instead of size_t on zend_string_allocs)""

obviously I read the change is in argument lists by mistake :<

This reverts commit 9e7af

Revert "Revert "fix #72143 (preg_replace uses int instead of size_t on zend_string_allocs)""

obviously I read the change is in argument lists by mistake :<

This reverts commit 9e7afa75140afd047cb95280a610cff9368a7517.

show more ...


# 9e7afa75 16-May-2016 Xinchen Hui

Revert "fix #72143 (preg_replace uses int instead of size_t on zend_string_allocs)"

ABI break

This reverts commit fb951553be0175712f4b757e05004110d7421e04.


# 90f46f2c 14-May-2016 Joe Watkins

fix #72143 (preg_replace uses int instead of size_t on zend_string_allocs)


# fb951553 14-May-2016 Joe Watkins

fix #72143 (preg_replace uses int instead of size_t on zend_string_allocs)


Revision tags: php-5.6.22RC1, php-7.0.7RC1
# 37f7c71f 29-Apr-2016 Dmitry Stogov

Simplified condition


Revision tags: php-7.0.6, php-5.6.21, php-5.5.35, php-5.6.21RC1, php-7.0.6RC1, php-5.6.20, php-5.5.34, php-7.0.5
# 241ba9dc 22-Mar-2016 Anatol Belski

if there's no JIT support, no RINIT is really needed


# e9882396 21-Mar-2016 Anatol Belski

decrease the default PCRE JIT stack to 64K


# e23a4122 21-Mar-2016 Anatol Belski

Increase PCRE JIT stack size

It is done by implementing the custom stack usage. This makes the
JIT with mode on more compatible with the JIT mode off. Until now, the
default PCRE JIT

Increase PCRE JIT stack size

It is done by implementing the custom stack usage. This makes the
JIT with mode on more compatible with the JIT mode off. Until now, the
default PCRE JIT stack was used which is 32kb big by default. There
are situations where some patterns would fail with JIT while working
correctly without JIT.

The starting size of the JIT stack is still set to 32kb, while the
max is set to the permissive 256kb (and can be increased up to 1mb).
As until now no suchlike bugs regarding JIT were reported, it is expected,
that the stack usage will stay by 32kb in most cases. Though providing
the custom stack, applications will have more room for some sporadic
stack increase, thus more compatibility.

show more ...


Revision tags: php-5.6.20RC1, php-7.0.5RC1
# 5a6da79f 09-Mar-2016 Nikita Popov

Fix bug #71659


Revision tags: php-5.6.19, php-5.5.33, php-7.0.4, php-5.6.19RC1, php-7.0.4RC1
# 336e39f2 07-Feb-2016 Xinchen Hui

Fixed bug #71537 (PCRE segfault from Opcache)


Revision tags: php-5.6.18, php-7.0.3, php-5.5.32, php-5.6.18RC1, php-7.0.3RC1, php-5.6.17, php-5.5.31, php-7.0.2
# 49493a2d 01-Jan-2016 Lior Kaplan

Happy new year (Update copyright to 2016)


Revision tags: php-7.0.2RC1
# 817513af 21-Dec-2015 Xinchen Hui

Fixed bug #71178 (preg_replace with arrays creates [0] in replace array if not already set)


Revision tags: php-5.6.17RC1, php-7.0.1RC1, php-7.0.0, php-5.6.16, php-7.0.0RC8, php-7.0.0RC7, php-5.6.16RC1, php-5.6.15, php-7.0.0RC6, php-7.0.1, php-5.6.15RC1, php-7.0.0RC5, php-5.5.30, php-5.6.14, php-7.0.0RC4
# 560e4fa3 29-Sep-2015 Dmitry Stogov

Removed or simplified incorrect SEPARATE_*() macros usage.


Revision tags: php-5.6.14RC1, php-7.0.0RC3, php-5.6.13, php-7.0.0RC2, php-5.5.29, php-5.4.45
# 03964892 29-Aug-2015 Stanislav Malyshev

Fix bug #70345 (Multiple vulnerabilities related to PCRE functions)


# 1553ce20 25-Aug-2015 Anatol Belski

add some range checks to pcre


Revision tags: php-5.6.13RC1, php-7.0.0RC1
# b9f23c21 13-Aug-2015 Christoph M. Becker

Fix #70232: Incorrect bump-along behavior with \K and empty string match

To do global matching (/g), for every empty match we have to do a second match
with PCRE_NOTEMPTY turned on. That

Fix #70232: Incorrect bump-along behavior with \K and empty string match

To do global matching (/g), for every empty match we have to do a second match
with PCRE_NOTEMPTY turned on. That may fail, however, when the \K escape
sequence is involved. For this purpose libpcre 8.0 introduced the
PCRE_NOTEMPTY_ATSTART flag, which we will use if available, and otherwise fall
back to the old (possibly buggy) behavior.

show more ...


Revision tags: php-5.6.12, php-5.5.28, php-7.0.0beta3, php-5.4.44
# e6f55339 26-Jul-2015 Christoph M. Becker

add new error constant PREG_JIT_STACKLIMIT_ERROR


Revision tags: php-5.6.12RC1, php-7.0.0beta2, php-7.0.0beta1, php-5.6.11, php-5.5.27, php-5.4.43
# 4a2e40bb 30-Jun-2015 Dmitry Stogov

Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes).


# 4bd22cf1 29-Jun-2015 Dmitry Stogov

Improved zend_string API (Francois Laupretre)

Squashed commit of the following:

commit d96eab8d79b75ac83d49d49ae4665f948d15a804
Author: Francois Laupretre <francois@tekwire.net>

Improved zend_string API (Francois Laupretre)

Squashed commit of the following:

commit d96eab8d79b75ac83d49d49ae4665f948d15a804
Author: Francois Laupretre <francois@tekwire.net>
Date: Fri Jun 26 01:23:31 2015 +0200

Use the new 'ZSTR' macros in the rest of the code.

Does not change anything to the generated code (thanks to compat macros) but cleaner.

commit b3526439104ac7a89a8e0c79dbebf33b22bd01b8
Author: Francois Laupretre <francois@tekwire.net>
Date: Thu Jun 25 13:45:06 2015 +0200

Improve zend_string API

Add missing methods

show more ...


Revision tags: php-5.6.11RC1, php-5.5.27RC1, php-7.0.0alpha2, php-5.5.26, php-7.0.0alpha1, php-5.6.10, php-5.4.42
# 23e25f33 05-Jun-2015 Christoph M. Becker

Fixed Bug #53823 (preg_replace: * qualifier on unicode replace garbles the string)

When advancing after empty matches, php_pcre_match_impl() as well as
php_pcre_replace_impl() always hav

Fixed Bug #53823 (preg_replace: * qualifier on unicode replace garbles the string)

When advancing after empty matches, php_pcre_match_impl() as well as
php_pcre_replace_impl() always have to advance to the next code point when the
u modifier is given, instead of to the next byte.

show more ...


12345678910>>...21