diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2012-12-19 22:58:18 -0500 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2012-12-19 22:58:18 -0500 |
commit | 180b9e150b71a2ff80b2a0cf89e2e834d18328e3 (patch) | |
tree | fe4a40fe8211edf7cd2e970554f39803bbfa2245 | |
parent | 66b88c92bb7796b65f2f1da4b04ef91c0ce7a850 (diff) | |
download | php-git-180b9e150b71a2ff80b2a0cf89e2e834d18328e3.tar.gz |
Fix for bug #63811
-rw-r--r-- | main/streams/userspace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams/userspace.c b/main/streams/userspace.c index 3b277160d6..74d9beb025 100644 --- a/main/streams/userspace.c +++ b/main/streams/userspace.c @@ -458,7 +458,7 @@ static php_stream *user_wrapper_opendir(php_stream_wrapper *wrapper, char *filen us->wrapper = uwrap; us->object = user_stream_create_object(uwrap, context TSRMLS_CC); - if(us == NULL) { + if(us->object == NULL) { FG(user_stream_current_filename) = NULL; efree(us); return NULL; |