Sie sind hier: PHP-Versionen > PHP 7 > PHP 7.0

PHP 7.0.8 wurde am 23.06.2016 herausgebracht. Im folgenden erhalten Sie einen kurzen Überblick welche Änderungen in diesem Patch enthalten waren. Bei Interesse kann auch das ausführliche Änderungsprotokoll eingesehen werden.

Fehlerbehebung
Core
If host name cannot be resolved then PHP 7 crashes
segfault, past-the-end access
Integer Overflow in nl2br()
Integer Overflow in json_encode()/json_decode()/ json_utf8_to_utf16()
Integer Overflow in addcslashes/addslashes
Integer Overflow in Length of String-typed ZVAL
Date
strtotime seems to use both sunday and monday as start of week
FPM
fastcgi_finish_request and logging environment variables
GD
pass2_no_dither out-of-bounds access
invalid dimensions can lead to crash
Integer Overflow in _gd2GetHeader() resulting in heap overflow
NULL Pointer Dereference at _gdScaleVert
Integer Overflow in gdImagePaletteToTrueColor() resulting in heap overflow
Intl
selectordinal doesn't work with named parameters
mbstring
_php_mb_regex_ereg_replace_exec - double free
mcrypt
Heap Overflow due to integer overflows
OpenSSL
segfault after calling ERR_free_strings()
PCRE
preg_replace uses int instead of size_t
PDO_pgsql
Segfault (core dumped) if paramno beyond bound
Segmentation fault/invalid pointer in connection with pgsql_stmt_dtor
Phar
invalid free in phar_extract_file()
Phpdbg
phpdbg fatal errors with coverage
Postgres
pg_pconnect/pg_connect cause use-after-free
pg_lo_create arbitrary read
Standard
range() with float step produces unexpected result
dns_get_record returns array containing elements of type 'unknown'
Wrong reference when serialize/unserialize an object
ignore_user_abort(false) has no effect
WDDX
Double Free Courruption in wddx_deserialize
XML
xml_parser_create/xml_parser_free leaks mem
XMLRPC
use-after-free caused by get_zval_xmlrpc_type
Zip
ZipArchive converts filenames to unrecoverable form
ZipArchive class Use After Free Vulnerability in PHP's GC algorithm and unserialize

Changelog Quelle php.net

Anzeige