1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 07:28:09 +02:00
Files
archived-php-src/ext
Anatol Belski f7ab7951f1 pcre: Workaround bug #81101
The way to fix it is to disable certain match start optimizaions. The
observed performance impact appears negligible ATM, compared to the
functional regression revealed.

A possible side effect might occur if a pattern uses (*COMMIT) or
(*MARK), which is however not a very broadly used syntax in PHP. Still
this should be observed and handled by possibly adding a possibility to
reverse PCRE2_NO_START_OPTIMIZE on the user side.

One test shows a behavior change, where instead of int 0 the match
would produce an error and return false. Except strict comparison
is used, this should be acceptable.

Signed-off-by: Anatol Belski <ab@php.net>
(cherry picked from commit d188ca7688)
Signed-off-by: Anatol Belski <ab@php.net>
2021-06-19 15:25:17 +02:00
..
2021-01-12 09:50:27 +01:00
2021-06-08 15:38:57 +02:00
2020-10-07 14:58:43 +02:00
2021-05-28 23:24:55 +02:00
2021-05-26 13:20:36 +02:00
2020-10-02 11:56:16 +02:00
2021-06-14 10:59:13 +02:00
2021-05-24 14:19:29 +02:00
2021-06-10 14:47:36 +02:00
2020-10-07 12:26:46 +02:00
2020-10-09 15:25:23 +02:00
2021-04-27 10:10:55 +02:00
2021-06-16 10:36:51 +02:00
2021-02-09 22:38:06 +01:00
2021-03-16 09:31:46 +01:00
2021-06-02 12:21:45 +02:00
2021-05-27 16:00:03 +02:00
2021-04-27 22:23:06 +02:00
2021-04-12 12:15:07 +02:00
2021-06-19 15:25:17 +02:00
2020-12-24 17:48:39 +11:00
2021-04-26 19:37:41 +02:00
2021-05-27 16:31:18 +02:00
2021-04-11 10:38:07 +02:00
2021-06-03 10:33:10 +02:00
2021-05-28 09:45:06 +02:00
2020-09-18 14:28:32 +02:00
2021-03-29 14:19:39 +02:00
2021-04-13 16:49:57 +02:00
2021-06-18 18:09:27 +01:00
2020-12-02 10:19:32 +01:00
2020-10-08 10:28:50 +02:00
2021-06-07 12:10:01 +02:00
2021-04-26 12:12:04 +02:00