mirror of
https://github.com/php/php-src.git
synced 2026-04-25 08:58:28 +02:00
5589bf4d4a
Don't mix strlen() and ZSTR_LEN(). If the encoding contains a NULL byte, this will overflow the buffer. NULL bytes will still make this behave oddly because the consuming code will cut off the string there, but let's address that in master...