From: Sara Golemon Date: Sun, 28 May 2017 04:15:24 +0000 (-0700) Subject: Merge branch 'PHP-7.1' X-Git-Tag: php-7.2.0alpha1~57^2~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=41b41825d6074a40dbedce93ce390af111966f5f;p=php Merge branch 'PHP-7.1' * PHP-7.1: Bugfix #74598 ftp:// ignores context --- 41b41825d6074a40dbedce93ce390af111966f5f diff --cc NEWS index 7dc76ae12d,76599d7f5e..a66c04fc48 --- a/NEWS +++ b/NEWS @@@ -65,69 -73,241 +65,70 @@@ PH (krakjoe) . Fixed bug #74080 (add constant for RFC7231 format datetime). (duncan3dc) -- DOM: - . Fixed bug #74416 (Wrong reflection on DOMNode::cloneNode). - (Remi, Fabien Villepinte) - -- Fileinfo: - . Fixed bug #74379 (syntax error compile error in libmagic/apprentice.c). - (Laruence) - -- GD: - . Fixed bug #74343 (compile fails on solaris 11 with system gd2 library). - (krakjoe) - -- MySQLi: - . Fixed bug #74432 (mysqli_connect adding ":3306" to $host if $port parameter - not given). (Anatol) - -- MySQLnd: - . Fixed bug #74376 (Invalid free of persistent results on error/connection - loss). (Yussuf Khalil) - -- Intl: - . Fixed bug #65683 (Intl does not support DateTimeImmutable). (Ben Scholzen) - . Fixed bug #74298 (IntlDateFormatter->format() doesn't return - microseconds/fractions). (Andrew Nester) - . Fixed bug #74433 (wrong reflection for Normalizer methods). (villfa) - . Fixed bug #74439 (wrong reflection for Locale methods). (villfa) - -- Opcache: - . Fixed bug #74456 (Segmentation error while running a script in CLI mode). - (Laruence) - . Fixed bug #74431 (foreach infinite loop). (Nikita) - . Fixed bug #74442 (Opcached version produces a nested array). (Nikita) - -- OpenSSL: - . Fixed bug #73833 (null character not allowed in openssl_pkey_get_private). - (Jakub Zelenka) - . Fixed bug #73711 (Segfault in openssl_pkey_new when generating DSA or DH - key). (Jakub Zelenka) - . Fixed bug #74341 (openssl_x509_parse fails to parse ASN.1 UTCTime without - seconds). (Moritz Fain) - . Fixed bug #73808 (iv length warning too restrictive for aes-128-ccm). - (Jakub Zelenka) - -- phar: - . Fixed bug #74383 (phar method parameters reflection correction). - (mhagstrand) - -- Readline: - . Fixed bug #74489 (readline() immediately returns false in interactive - console mode). (Anatol) - -- Standard: - . Fixed bug #72071 (setcookie allows max-age to be negative). (Craig Duncan) - . Fixed bug #74361 (Compaction in array_rand() violates COW). (Nikita) - -- Streams: - . Fixed bug #74429 (Remote socket URI with unique persistence identifier - broken). (Sara) - -13 Apr 2017, PHP 7.1.4 - -- Core: - . Fixed bug #74149 (static embed SAPI linkage error). (krakjoe) - . Fixed bug #73370 (falsely exits with "Out of Memory" when using - USE_ZEND_ALLOC=0). (Nikita) - . Fixed bug #73960 (Leak with instance method calling static method with - referenced return). (Nikita) - . Fixed bug #69676 (Resolution of self::FOO in class constants not correct). - (Nikita) - . Fixed bug #74265 (Build problems after 7.0.17 release: undefined reference - to `isfinite'). (Nikita) - . Fixed bug #74302 (yield fromLABEL is over-greedy). (Sara) - -- Apache: - . Reverted patch for bug #61471, fixes bug #74318. (Anatol) - -- Date: - . Fixed bug #72096 (Swatch time value incorrect for dates before 1970). (mcq8) - -- DOM: - . Fixed bug #74004 (LIBXML_NOWARNING flag ingnored on loadHTML*). - (somedaysummer) - -- iconv: - . Fixed bug #74230 (iconv fails to fail on surrogates). (Anatol) - -- OCI8: - . Fixed uninitialized data causing random crash. (Dmitry) - -- Opcache: - . Fixed bug #74250 (OPcache compilation performance regression in PHP 5.6/7 - with huge classes). (Nikita) - -- OpenSSL: - . Fixed bug #72333 (fwrite() on non-blocking SSL sockets doesn't work). - (Jakub Zelenka) - -- PDO MySQL: - . Fixed bug #71003 (Expose MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT to PDO - interface). (Thomas Orozco) - -- SPL: - . Fixed bug #74058 (ArrayObject can not notice changes). (Andrew Nester) - -- Sqlite: - . Implemented FR #74217 (Allow creation of deterministic sqlite functions). - (Andrew Nester) - -- Streams: - . Fixed bug #74216 (Correctly fail on invalid IP address ports). (Sara) - -- Zlib: - . Fixed bug #74240 (deflate_add can allocate too much memory). (Matt Bonneau) - -16 Mar 2017, PHP 7.1.3 - -- Core: - . Fixed bug #74157 (Segfault with nested generators). (Laruence) - . Fixed bug #74164 (PHP hangs when an invalid value is dynamically passed to - typehinted by-ref arg). (Laruence) - . Fixed bug #74093 (Maximum execution time of n+2 seconds exceed not written - in error_log). (Laruence) - . Fixed bug #73989 (PHP 7.1 Segfaults within Symfony test suite). - (Dmitry, Laruence) - . Fixed bug #74084 (Out of bound read - zend_mm_alloc_small). (Laruence) - . Fixed bug #73807 (Performance problem with processing large post request). - (Nikita) - . Fixed bug #73998 (array_key_exists fails on arrays created by - get_object_vars). (mhagstrand) - . Fixed bug #73954 (NAN check fails on Alpine Linux with musl). (Andrea) - . Fixed bug #73677 (Generating phar.phar core dump with gcc ASAN enabled - build). (ondrej) - -- Apache: - . Fixed bug #61471 (Incomplete POST does not timeout but is passed to PHP). - (Zheng Shao) - -- Date: - . Fixed bug #73837 ("new DateTime()" sometimes returns 1 second ago value). - (Derick) - -- FPM: - . Fixed bug #69860 (php-fpm process accounting is broken with keepalive). - (Denis Yeldandi) - -- Hash: - . Fixed bug #73127 (gost-crypto hash incorrect if input data contains long - 0xFF sequence). (Grundik) - -- GD: - . Fixed bug #74031 (ReflectionFunction for imagepng is missing last two - parameters). (finwe) - -- Mysqlnd: - . Fixed bug #74021 (fetch_array broken data. Data more then MEDIUMBLOB). - (Andrew Nester, Nikita) - -- Opcache: - . Fixed bug #74152 (if statement says true to a null variable). (Laruence) - . Fixed bug #74019 (Segfault with list). (Laruence) - -- OpenSSL: - . Fixed bug #74022 (PHP Fast CGI crashes when reading from a pfx file). - (Anatol) - . Fixed bug #74099 (Memory leak with openssl_encrypt()). (Andrew Nester) - . Fixed bug #74159 (Writing a large buffer to a non-blocking encrypted stream - fails with "bad write retry"). (trowski) - -- PDO_OCI: - . Fixed bug #54379 (PDO_OCI: UTF-8 output gets truncated). (gureedo / Oracle) - -- SQLite3: - . Fixed bug #74413 (incorrect reflection for SQLite3::enableExceptions). - (krakjoe) - -- Standard: - . Fixed bug #74005 (mail.add_x_header causes RFC-breaking lone line feed). - (Anatol) - . Fixed bug #74041 (substr_count with length=0 broken). (Nikita) - . Fixed bug #73118 (is_callable callable name reports misleading value for - anonymous classes). (Adam Saponara) - . Fixed bug #74105 (PHP on Linux should use /dev/urandom when getrandom is - not available). (Benjamin Robin) - -- Streams: - . Fixed bug #73496 (Invalid memory access in zend_inline_hash_func). - (Laruence) - . Fixed bug #74090 (stream_get_contents maxlength>-1 returns empty string). +- Dba: + . Fixed bug #72885 (flatfile: dba_fetch() fails to read replaced entry). (Anatol) -16 Feb 2017, PHP 7.1.2 - -- Core: - . Improved GENERATOR_CREATE opcode handler. (Bob, Dmitry) - . Fixed bug #73877 (readlink() returns garbage for UTF-8 paths). (Anatol) - . Fixed bug #73876 (Crash when exporting **= in expansion of assign op). - (Sara) - . Fixed bug #73962 (bug with symlink related to cyrillic directory). (Anatol) - . Fixed bug #73969 (segfault in debug_print_backtrace). (andrewnester) - . Fixed bug #73994 (arginfo incorrect for unpack). (krakjoe) - . Fixed bug #73973 (assertion error in debug_zval_dump). (andrewnester) - - DOM: + . Fixed bug #67474 (getElementsByTagNameNS filter on default ns). (aboks) . Fixed bug #54382 (getAttributeNodeNS doesn't get xmlns* attributes). (aboks) + . Fixed bug #74004 (LIBXML_NOWARNING (etc) ignored by DOMDocument::loadHTML). + (somedaysummer) -- DTrace: - . Fixed bug #73965 (DTrace reported as enabled when disabled). (Remi) - -- FCGI: - . Fixed bug #73904 (php-cgi fails to load -c specified php.ini file). (Anatol) - . Fixed bug #72898 (PHP_FCGI_CHILDREN is not included in phpinfo()). (Anatol) +- EXIF: + . Added support for vendor specific tags for the following formats: + Samsung, DJI, Panasonic, Sony, Pentax, Minolta & Sigma/Foveon. (Kalle) + . Fixed bug #72682 (exif_read_data() fails to read all data for some + images). (Kalle) + . Fixed bug #71534 (Type confusion in exif_read_data() leading to heap + overflow in debug mode). (hlt99 at blinkenshell dot org, Kalle) + . Fixed bug #68547 (Exif Header component value check error). + (sjh21a at gmail dot com, Kalle) + . Fixed bug #66443 (Corrupt EXIF header: maximum directory nesting level + reached for some cameras). (Kalle) + . Fixed Redhat bug #1362571 (PHP not returning full results for + exif_read_data function). (Kalle) - FPM: + . Configuration to limit fpm slow log trace callers. (Sannis) . Fixed bug #69865 (php-fpm does not close stderr when using syslog). - (m6w6) + (Mike) + +- FTP: ++ . Fixed bug #74598 (ftp:// wrapper ignores context arg). (Sara) + . Implement MLSD for structured listing of directories. (blar) - GD: - . Fixed bug #73968 (Premature failing of XBM reading). (cmb) + . Implemented imageresolution as getter and setter (Christoph) + . Fixed bug #74343 (compile fails on solaris 11 with system gd2 library). + (krakjoe) - GMP: - . Fixed bug #69993 (test for gmp.h needs to test machine includes). - (Jordan Gigov) + . Fixed bug #70896 (gmp_fact() silently ignores non-integer input). (Sara) -- Hash: - . Added hash_hkdf() function. (Andrey Andreev) +- hash: . Fixed bug #73961 (environmental build dependency in hash sha3 source). (krakjoe) + . Changed HashContext from resource to object. (Rouven Weßling, Sara) + +- intl: + . Fixed bug #74433 (wrong reflection for Normalizer methods). (villfa) + . Fixed bug #74439 (wrong reflection for Locale methods). (villfa) + . Fixed bug #74468 (wrong reflection on Collator::sortWithSortKeys). (villfa) + . Fixed bug #63790 (test using Spoofchecker which may be unavailable). (Sara) -- Intl: - . Fix bug #73956 (Link use CC instead of CXX). (Remi) +- Mbstring: + . Implemented request #66024 (mb_chr() and mb_ord()). (Masakielastic, Yasuo) + . Implemented request #65081 (mb_scrub()). (Masakielastic, Yasuo) + . Implemented request #69086 (enhancement for mb_convert_encoding() that + handles multibyte replacement char nicely). (Masakielastic, Yasuo) + . Added array input support to mb_convert_encoding(). (Yasuo) + . Added array input support to mb_check_encoding(). (Yasuo) + . Fixed bug #69079 (enhancement for mb_substitute_character). (masakielastic) -- LDAP: - . Fixed bug #73933 (error/segfault with ldap_mod_replace and opcache). - (Laruence) +- Mcrypt: + . The deprecated mcrypt extension has been moved to PECL. (leigh) - MySQLi: . Fixed bug #73949 (leak in mysqli_fetch_object). (krakjoe)