diff options
author | Anatol Belski <ab@php.net> | 2017-11-27 14:09:59 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2017-11-28 09:15:14 +0100 |
commit | 4a2ccd908be193fdc34a91306febb7153cc461eb (patch) | |
tree | ce226ea08da664899f3e9bd0a0f558ea7df1d499 /main/php_variables.c | |
parent | e9927994eb66196fa26b65dcc1c30c03f01cf9a5 (diff) | |
download | php-git-4a2ccd908be193fdc34a91306febb7153cc461eb.tar.gz |
Keep up with Linux extension to POSIX.1-2001 getcwd()
If both buf and size are zero, the buf is allocated as big as required.
Otherwise, the size is still to respect.
Fix var name
Improve error check
Ensure the end buffer length is not bigger than requested
Diffstat (limited to 'main/php_variables.c')
0 files changed, 0 insertions, 0 deletions