mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Reduce error buffer size
120 bytes is ample, the doc says.
This commit is contained in:
parent
169d454593
commit
0630e3bc03
4 changed files with 4 additions and 4 deletions
|
@ -534,7 +534,7 @@ PHPAPI pcre_cache_entry* pcre_get_compiled_regex_cache(zend_string *regex)
|
|||
pcre2_code *re = NULL;
|
||||
uint32_t coptions = 0;
|
||||
uint32_t extra_coptions = PHP_PCRE_DEFAULT_EXTRA_COPTIONS;
|
||||
PCRE2_UCHAR error[256];
|
||||
PCRE2_UCHAR error[128];
|
||||
PCRE2_SIZE erroffset;
|
||||
int errnumber;
|
||||
char delimiter;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue