mirror of
https://github.com/php/php-src.git
synced 2024-12-15 21:05:51 +08:00
b111463f4c
I happen to think that this is php_addslashes() problem, not PCRE's. When 0 is passed for the length of the string to php_addslashes() it assumes that we want to process the whole string and happily runs strlen() on it. That is bad. It should respect the length and return an empty string if it's 0. |
||
---|---|---|
.. | ||
pcrelib | ||
config0.m4 | ||
config.m4 | ||
Makefile.in | ||
php_pcre.c | ||
php_pcre.h | ||
setup.stub |