diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/streams/userspace.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/streams/userspace.c b/main/streams/userspace.c index 3a1b5dbf54..90b6a6e453 100644 --- a/main/streams/userspace.c +++ b/main/streams/userspace.c @@ -863,6 +863,7 @@ static int statbuf_from_array(zval *array, php_stream_statbuf *ssb TSRMLS_DC) #define STAT_PROP_ENTRY(name) STAT_PROP_ENTRY_EX(name,name) + memset(ssb, 0, sizeof(php_stream_statbuf)); STAT_PROP_ENTRY(dev); STAT_PROP_ENTRY(ino); STAT_PROP_ENTRY(mode); |