Patch p for *General Issues Bug #63811
Patch version 2012-12-20 03:50 UTC
Return to Bug #63811 |
Download this patch
Patch Revisions:
Developer: nickolai@csail.mit.edu
--- php-5.4.9-ref/main/streams/userspace.c 2012-11-21 00:12:20.000000000 -0500
+++ php-5.4.9/main/streams/userspace.c 2012-12-19 21:35:11.683190372 -0500
@@ -458,7 +458,7 @@
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;
|