Commit:    180b9e150b71a2ff80b2a0cf89e2e834d18328e3
Author:    Rasmus Lerdorf <ras...@php.net>         Wed, 19 Dec 2012 22:58:18 
-0500
Parents:   66b88c92bb7796b65f2f1da4b04ef91c0ce7a850
Branches:  PHP-5.4 PHP-5.5 master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=180b9e150b71a2ff80b2a0cf89e2e834d18328e3

Log:
Fix for bug #63811

Bugs:
https://bugs.php.net/63811

Changed paths:
  M  main/streams/userspace.c


Diff:
diff --git a/main/streams/userspace.c b/main/streams/userspace.c
index 3b27716..74d9beb 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;


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to