mirror of
https://github.com/php/php-src.git
synced 2025-08-19 17:04:47 +02:00
Possibly fix a crash - Marcus, please take a look at it...
This commit is contained in:
parent
dcb44bf512
commit
a9411a6da2
1 changed files with 1 additions and 0 deletions
|
@ -268,6 +268,7 @@ PHPAPI php_stream *_php_stream_memory_open(int mode, char *buf, size_t length ST
|
||||||
assert(buf != NULL);
|
assert(buf != NULL);
|
||||||
php_stream_write(stream, buf, length);
|
php_stream_write(stream, buf, length);
|
||||||
}
|
}
|
||||||
|
ms = stream->abstract;
|
||||||
ms->mode = mode;
|
ms->mode = mode;
|
||||||
}
|
}
|
||||||
return stream;
|
return stream;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue