Possibly fix a crash - Marcus, please take a look at it...

This commit is contained in:
Zeev Suraski 2002-03-19 19:16:20 +00:00
parent dcb44bf512
commit a9411a6da2

View file

@ -268,6 +268,7 @@ PHPAPI php_stream *_php_stream_memory_open(int mode, char *buf, size_t length ST
assert(buf != NULL);
php_stream_write(stream, buf, length);
}
ms = stream->abstract;
ms->mode = mode;
}
return stream;