diff options
author | Nikita Popov <nikic@php.net> | 2015-07-16 23:17:29 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2015-07-17 16:53:06 +0200 |
commit | 75dc4486b2b95989f62717da4feca8ebe4bbb528 (patch) | |
tree | b7a995001e733ba2c9947b891ba1d19d180cb0ff /sapi/phpdbg/phpdbg_utils.c | |
parent | daba578dbe056260c748f01739d0dd5cfbc5aecd (diff) | |
download | php-git-75dc4486b2b95989f62717da4feca8ebe4bbb528.tar.gz |
Make s(tr)pprintf infallible
spprintf now always creates a buffer and strpprintf always returns
a zend_string. Previously, if the result of the format happened to
be empty, the spprintf buffer would be set to NULL and strpprintf
would return NULL.
Diffstat (limited to 'sapi/phpdbg/phpdbg_utils.c')
0 files changed, 0 insertions, 0 deletions