diff options
author | Anatol Belski <ab@php.net> | 2016-12-22 14:56:47 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2016-12-22 14:56:47 +0100 |
commit | 758af77e9d1c3c6e5aea365bc0d35c385278ad5a (patch) | |
tree | 31a297b9da316030aaacb5ab4382f57ba3e46cca /UPGRADING.INTERNALS | |
parent | afb6ca2566691a673b7e638ffd7e3181e21d80a3 (diff) | |
download | php-git-758af77e9d1c3c6e5aea365bc0d35c385278ad5a.tar.gz |
Path handling related refactorings
Primarily related to the path handling datatypes, to avoid unnecessary
casts, where possible. Also some rework to avoid code dup. Probably
more places are to go, even not path related, primarily to have less
casts and unsigned integers where possible. That way, we've not only
less warnings and casts, but are also safer with regard to the
integer overflows. OFC it's not a panacea, but still significantly
reduces the vulnerability potential.
Diffstat (limited to 'UPGRADING.INTERNALS')
-rw-r--r-- | UPGRADING.INTERNALS | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index 95e9318b25..a9f1547245 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -13,7 +13,12 @@ PHP 7.1 INTERNALS UPGRADE NOTES 1. Internal API changes ======================== - a. + a. Path related functions + - CWD_API void realpath_cache_del(const char *path, size_t path_len); + - CWD_API realpath_cache_bucket* realpath_cache_lookup(const char *path, size_t path_len, time_t t); + - PHPAPI void php_clear_stat_cache(zend_bool clear_realpath_cache, const char *filename, size_t filename_len); + - PHPAPI void php_stat(const char *filename, size_t filename_length, int type, zval *return_value); + ======================== 2. Build system changes |