. Fixed bug #72278 (getimagesize returning FALSE on valid jpg). (cmb)
. Fixed bug #65550 (get_browser() incorrectly parses entries with "+" sign).
(cmb)
+ . Fixed bug #71882 (Negative ftruncate() on php://memory exhausts memory).
+ (cmb)
+- Streams:
+ . Fixed bug #72853 (stream_set_blocking doesn't work). (Laruence)
+ . Fixed bug #72764 (ftps:// opendir wrapper data channel encryption fails
+ with IIS FTP 7.5, 8.5). (vhuk)
+
+- Sysvshm:
+ . Fixed bug #72858 (shm_attach null dereference). (Anatol)
+
- XML:
. Fixed bug #72085 (SEGV on unknown address zif_xml_parse). (cmb)
+ . Fixed bug #72714 (_xml_startElementHandler() segmentation fault). (cmb)
- ZIP:
. Fixed bug #68302 (impossible to compile php with zip support). (cmb)
RETURN_FALSE;
}
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Negative size is not supported");
+ if (size < 0) {
- PHP_STREAM_TO_ZVAL(stream, &fp);
++ php_error_docref(NULL, E_WARNING, "Negative size is not supported");
+ RETURN_FALSE;
+ }
+
+ PHP_STREAM_TO_ZVAL(stream, fp);
if (!php_stream_truncate_supported(stream)) {
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Can't truncate this stream!");
+ php_error_docref(NULL, E_WARNING, "Can't truncate this stream!");
RETURN_FALSE;
}