We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10642aa commit 433089cCopy full SHA for 433089c
NEWS
@@ -3,6 +3,8 @@ PHP NEWS
3
?? ??? 2012, PHP 5.3.16
4
5
- Core:
6
+ . Fixed bug #62716 (munmap() is called with the incorrect length).
7
+ (slangley@google.com)
8
. Fixed bug #60194 (--with-zend-multibyte and --enable-debug reports LEAK
9
with run-test.php). (Laruence)
10
Zend/zend_stream.c
@@ -79,7 +79,7 @@ static size_t zend_stream_stdio_fsizer(void *handle TSRMLS_DC) /* {{{ */
79
static void zend_stream_unmap(zend_stream *stream TSRMLS_DC) { /* {{{ */
80
#if HAVE_MMAP
81
if (stream->mmap.map) {
82
- munmap(stream->mmap.map, stream->mmap.len);
+ munmap(stream->mmap.map, stream->mmap.len + ZEND_MMAP_AHEAD);
83
} else
84
#endif
85
if (stream->mmap.buf) {
0 commit comments