diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-02-11 11:33:18 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-02-11 11:33:18 +0100 |
commit | 52c2d47c909a4a0415fbaf4c680fc5956b87e196 (patch) | |
tree | 6f54adca0c750c1609e03d3f4adf20e5e69735ba /main/streams/streams.c | |
parent | e93d6d97aab7a5de1f7b8dc750ca9d08214de8c4 (diff) | |
parent | be64a06b1cf37a560384ee568498f870e77be168 (diff) | |
download | php-git-52c2d47c909a4a0415fbaf4c680fc5956b87e196.tar.gz |
Merge branch 'PHP-7.3' into PHP-7.4
Diffstat (limited to 'main/streams/streams.c')
-rw-r--r-- | main/streams/streams.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/streams/streams.c b/main/streams/streams.c index f418991bad..f1ff923dee 100644 --- a/main/streams/streams.c +++ b/main/streams/streams.c @@ -1888,6 +1888,8 @@ PHPAPI int _php_stream_stat_path(const char *path, int flags, php_stream_statbuf const char *path_to_open = path; int ret; + memset(ssb, 0, sizeof(*ssb)); + if (!(flags & PHP_STREAM_URL_STAT_NOCACHE)) { /* Try to hit the cache first */ if (flags & PHP_STREAM_URL_STAT_LINK) { |