Skip to content

Commit d8795a3

Browse files
authored
ext/pcre: update Config to match upstream (php#14509)
In phpGH-14498, we updated pcre2lib to v10.44. However, it missed syncing the config, that changes upstream `MAX_NAME_SIZE` from 32 to 128. Ref: [1](PCRE2Project/pcre2@ced3b0f#diff-91c5b46dc84a94604a4e4d0caed9bf85590a2eddbb12d2e8dc80badf324a9dfb), [2](PCRE2Project/pcre2@6c670c7)
1 parent 743d1fd commit d8795a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/pcre/pcre2lib/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
Care must be taken if it is increased, because it guards against integer
7676
overflow caused by enormously large patterns. */
7777
#ifndef MAX_NAME_SIZE
78-
#define MAX_NAME_SIZE 32
78+
#define MAX_NAME_SIZE 128
7979
#endif
8080

8181
/* Defining NEVER_BACKSLASH_C locks out the use of \C in all patterns. */

0 commit comments

Comments
 (0)