summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_utils.c
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2015-07-16 23:17:29 +0200
committerNikita Popov <nikic@php.net>2015-07-17 16:53:06 +0200
commit75dc4486b2b95989f62717da4feca8ebe4bbb528 (patch)
treeb7a995001e733ba2c9947b891ba1d19d180cb0ff /sapi/phpdbg/phpdbg_utils.c
parentdaba578dbe056260c748f01739d0dd5cfbc5aecd (diff)
downloadphp-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