summaryrefslogtreecommitdiff
path: root/main/streams/streams.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-02-11 11:33:18 +0100
committerNikita Popov <nikita.ppv@gmail.com>2019-02-11 11:33:18 +0100
commit52c2d47c909a4a0415fbaf4c680fc5956b87e196 (patch)
tree6f54adca0c750c1609e03d3f4adf20e5e69735ba /main/streams/streams.c
parente93d6d97aab7a5de1f7b8dc750ca9d08214de8c4 (diff)
parentbe64a06b1cf37a560384ee568498f870e77be168 (diff)
downloadphp-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.c2
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) {