com php-src: Merge branch 'PHP-7.2': NEWS sapi/fpm/fpm/fpm_ch ildren.c sapi/fpm/fpm/fpm_stdio.c

From: Date: Wed, 20 Jun 2018 10:32:20 +0000
Subject: com php-src: Merge branch 'PHP-7.2': NEWS sapi/fpm/fpm/fpm_ch ildren.c sapi/fpm/fpm/fpm_stdio.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-102208@lists.php.net to get a copy of this message
Commit: 8e2f0824f7a65f79d0dc077d3203fb221042ae80 Author: Nikita Popov <nikita.ppv@gmail.com> Wed, 20 Jun 2018 12:31:31 +0200 Parents: 2825c820762884029da4351875ceaa1f24009f88 44f4d2be0174904061fffe4760987016bcbfdfc2 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8e2f0824f7a65f79d0dc077d3203fb221042ae80 Log: Merge branch 'PHP-7.2' Changed paths: MM NEWS MM sapi/fpm/fpm/fpm_children.c MM sapi/fpm/fpm/fpm_stdio.c

diff --cc NEWS index 1e9b40b,dbf8a41..6c9393a --- a/NEWS +++ b/NEWS @@@ -1,209 -1,623 +1,213 @@@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| -?? ??? ????, PHP 7.2.8 - -- Date: - . Fixed bug #76462 (Undefined property: DateInterval::$f). (Anatol) - -- EXIF: - . Fixed bug #76409 (heap use after free in _php_stream_free). (cmb) +?? ??? ????, PHP 7.3.0alpha3 + - FPM: + . Fixed bug #73342 (Vulnerability in php-fpm by changing stdin to + non-blocking). (Nikita) + -- Opcache: - . Fixed bug #76477 (Opcache causes empty return value). - (Nikita, Laruence) - -- ZIP: - . Fixed bug #76461 (OPSYS_Z_CPM defined instead of OPSYS_CPM). - (Dennis Birkholz, Remi) - -07 Jun 2018, PHP 7.2.7 - -- Core: - . Fixed bug #76337 (segfault when opcache enabled + extension use - zend_register_class_alias). (xKhorasan) - -- CLI Server: - . Fixed bug #76333 (PHP built-in server does not find files if root path - contains special characters). (Anatol) - -- OpenSSL: - . Fixed bug #76296 (openssl_pkey_get_public does not respect open_basedir). - (Erik Lax, Jakub Zelenka) - . Fixed bug #76174 (openssl extension fails to build with LibreSSL 2.7). - (Jakub Zelenka) - -- SPL: - . Fixed bug #76367 (NoRewindIterator segfault 11). (Laruence) - -- Standard: - . Fixed bug #76410 (SIGV in zend_mm_alloc_small). (Laruence) - . Fixed bug #76335 ("link(): Bad file descriptor" with non-ASCII path). - (Anatol) - -24 May 2018, PHP 7.2.6 - -- EXIF: - . Fixed bug #76164 (exif_read_data zend_mm_heap corrupted). (cmb) - -- FPM: - . Fixed bug #76075 --with-fpm-acl wrongly tries to find libacl on FreeBSD. - (mgorny) - -- intl: - . Fixed bug #74385 (Locale::parseLocale() broken with some arguments). - (Anatol) - -- Opcache: - . Fixed bug #76205 (PHP-FPM sporadic crash when running Infinitewp). (Dmitry) - . Fixed bug #76275 (Assertion failure in file cache when unserializing empty - try_catch_array). (Nikita) - . Fixed bug #76281 (Opcache causes incorrect "undefined variable" errors). - (Nikita) - -- Reflection: - . Fixed arginfo of array_replace(_recursive) and array_merge(_recursive). - (carusogabriel) - -- Session: - . Fixed bug #74892 (Url Rewriting (trans_sid) not working on urls that start - with "#"). (Andrew Nester) - -26 Apr 2018, PHP 7.2.5 - -- Core: - . Fixed bug #75722 (Convert valgrind detection to configure option). - (Michael Heimpold) - -- Date: - . Fixed bug #76131 (mismatch arginfo for date_create). (carusogabriel) - -- Exif: - . Fixed bug #76130 (Heap Buffer Overflow (READ: 1786) in exif_iif_add_value). - (Stas) - -- FPM: - . Fixed bug #68440 (ERROR: failed to reload: execvp() failed: Argument list - too long). (Jacob Hipps) - . Fixed incorrect write to getenv result in FPM reload. (Jakub Zelenka) - -- GD: - . Fixed bug #52070 (imagedashedline() - dashed line sometimes is not visible). - (cmb) - -- iconv: - . Fixed bug #76249 (stream filter convert.iconv leads to infinite loop on - invalid sequence). (Stas) - -- intl: - . Fixed bug #76153 (Intl compilation fails with icu4c 61.1). (Anatol) - -- ldap: - . Fixed bug #76248 (Malicious LDAP-Server Response causes Crash). (Stas) - -- mbstring: - . Fixed bug #75944 (Wrong cp1251 detection). (dmk001) - . Fixed bug #76113 (mbstring does not build with Oniguruma 6.8.1). - (chrullrich, cmb) - -- ODBC: - . Fixed bug #76088 (ODBC functions are not available by default on Windows). - (cmb) - -- Opcache: - . Fixed bug #76094 (Access violation when using opcache). (Laruence) - -- Phar: - . Fixed bug #76129 (fix for CVE-2018-5712 may not be complete). (Stas) - -- phpdbg: - . Fixed bug #76143 (Memory corruption: arbitrary NUL overwrite). (Laruence) - -- SPL: - . Fixed bug #76131 (mismatch arginfo for splarray constructor). - (carusogabriel) - -- standard: - . Fixed bug #74139 (mail.add_x_header default inconsistent with docs). (cmb) - . Fixed bug #75996 (incorrect url in header for mt_rand). (tatarbj) - -29 Mar 2018, PHP 7.2.4 - -- Core: - . Fixed bug #76025 (Segfault while throwing exception in error_handler). - (Dmitry, Laruence) - . Fixed bug #76044 ('date: illegal option -- -' in ./configure on FreeBSD). - (Anatol) - -- FPM: - . Fixed bug #75605 (Dumpable FPM child processes allow bypassing opcache - access controls). (Jakub Zelenka) - -- FTP: - . Fixed ftp_pasv arginfo. (carusogabriel) - --GD: - . Fixed bug #73957 (signed integer conversion in imagescale()). (cmb) - . Fixed bug #76041 (null pointer access crashed php). (cmb) - . Fixed imagesetinterpolation arginfo. (Gabriel Caruso) - -- iconv: - . Fixed bug #75867 (Freeing uninitialized pointer). (Philip Prindeville) - -- Mbstring: - . Fixed bug #62545 (wrong unicode mapping in some charsets). (cmb) - -- Opcache: - . Fixed bug #75969 (Assertion failure in live range DCE due to block pass - misoptimization). (Nikita) - -- OpenSSL: - . Fixed openssl_* arginfos. (carusogabriel) - -- PCNTL: - . Fixed bug #75873 (pcntl_wexitstatus returns incorrect on Big_Endian platform - (s390x)). (Sam Ding) - -- Phar: - . Fixed bug #76085 (Segmentation fault in buildFromIterator when directory - name contains a \n). (Laruence) - -- Standard: - . Fixed bug #75961 (Strange references behavior). (Laruence) - . Fixed some arginfos. (carusogabriel) - . Fixed bug #76068 (parse_ini_string fails to parse "[foo]\nbar=1|>baz" with - segfault). (Anatol) - -01 Mar 2018, PHP 7.2.3 +21 Jun 2018, PHP 7.3.0alpha2 - Core: - . Fixed bug #75864 ("stream_isatty" returns wrong value on s390x). (Sam Ding) + . Fixed bug #76427 (Segfault in zend_objects_store_put). (Laruence) + . Fixed bug #76422 (ftruncate fails on files > 2GB). (Anatol) -- Apache2Handler: - . Fixed bug #75882 (a simple way for segfaults in threadsafe php just with - configuration). (Anatol) +- CLI: + . Fixed bug #44217 (Output after stdout/stderr closed cause immediate exit + with status 0). (Robert Lu) - Date: - . Fixed bug #75857 (Timezone gets truncated when formatted). (carusogabriel) - . Fixed bug #75928 (Argument 2 for `DateTimeZone::listIdentifiers()` should - accept `null`). (Pedro Lacerda) - . Fixed bug #68406 (calling var_dump on a DateTimeZone object modifies it). - (jhdxr) - -- LDAP: - . Fixed bug #49876 (Fix LDAP path lookup on 64-bit distros). (dzuelke) - -- libxml2: - . Fixed bug #75871 (use pkg-config where available). (pmmaga) - -- PGSQL: - . Fixed bug #75838 (Memory leak in pg_escape_bytea()). (ard_1 at mail dot ru) - -- Phar: - . Fixed bug #54289 (Phar::extractTo() does not accept specific directories to - be extracted). (bishop) - . Fixed bug #65414 (deal with leading slash while adding files correctly). - (bishopb) - . Fixed bug #65414 (deal with leading slash when adding files correctly). - (bishopb) - -- ODBC: - . Fixed bug #73725 (Unable to retrieve value of varchar(max) type). (Anatol) - -- Opcache: - . Fixed bug #75729 (opcache segfault when installing Bitrix). (Nikita) - . Fixed bug #75893 (file_get_contents $http_response_header variable bugged - with opcache). (Nikita) - . Fixed bug #75938 (Modulus value not stored in variable). (Nikita) - -- SPL: - . Fixed bug #74519 (strange behavior of AppendIterator). (jhdxr) - -- Standard: - . Fixed bug #75916 (DNS_CAA record results contain garbage). (Mike, - Philip Sharp) - . Fixed bug #75981 (Prevent reading beyond buffer start in http wrapper). - (Stas) - -01 Feb 2018, PHP 7.2.2 + . Fixed bug #76462 (Undefined property: DateInterval::$f). (Anatol) -- Core: - . Fixed bug #75742 (potential memleak in internal classes's static members). - (Laruence) - . Fixed bug #75679 (Path 260 character problem). (Anatol) - . Fixed bug #75614 (Some non-portable == in shell scripts). (jdolecek) - . Fixed bug #75786 (segfault when using spread operator on generator passed - by reference). (Nikita) - . Fixed bug #75799 (arg of get_defined_functions is optional). (carusogabriel) - . Fixed bug #75396 (Exit inside generator finally results in fatal error). - (Nikita) +- EXIF: + . Fixed bug #76409 (heap use after free in _php_stream_free). (cmb) -- FCGI: - . Fixed bug #75794 (getenv() crashes on Windows 7.2.1 when second parameter is - false). (Anatol) +- Interbase: + . Fixed bug #76443 (php+php_interbase.dll crash on module_shutdown). (Kalle) -- IMAP: - . Fixed bug #75774 (imap_append HeapCorruction). (Anatol) +- Mysqlnd: + . Fixed bug #76386 (Prepared Statement formatter truncates fractional seconds + from date/time column). (Victor Csiky) - Opcache: - . Fixed bug #75720 (File cache not populated after SHM runs full). (Dmitry) - . Fixed bug #75687 (var 8 (TMP) has array key type but not value type). + . Fixed bug #76477 (Opcache causes empty return value). (Nikita, Laruence) - . Fixed bug #75698 (Using @ crashes php7.2-fpm). (Nikita) - . Fixed bug #75579 (Interned strings buffer overflow may cause crash). - (Dmitry) - -- PDO: - . Fixed bug #75616 (PDO extension doesn't allow to be built shared on Darwin). - (jdolecek) - -- PDO MySQL: - . Fixed bug #75615 (PDO Mysql module can't be built as module). (jdolecek) - -- PGSQL: - . Fixed bug #75671 (pg_version() crashes when called on a connection to - cockroach). (magicaltux at gmail dot com) - -- Readline: - . Fixed bug #75775 (readline_read_history segfaults with empty file). - (Anatol) - -- SAPI: - . Fixed bug #75735 ([embed SAPI] Segmentation fault in - sapi_register_post_entry). (Laruence) - -- SOAP: - . Fixed bug #70469 (SoapClient generates E_ERROR even if exceptions=1 is - used). (Anton Artamonov) - . Fixed bug #75502 (Segmentation fault in zend_string_release). (Nikita) - -- SPL: - . Fixed bug #75717 (RecursiveArrayIterator does not traverse arrays by - reference). (Nikita) - . Fixed bug #75242 (RecursiveArrayIterator doesn't have constants from parent - class). (Nikita) - . Fixed bug #73209 (RecursiveArrayIterator does not iterate object - properties). (Nikita) + . Fixed bug #76466 (Loop variable confusion). (Dmitry, Laruence, Nikita) + . Fixed bug #76463 (var has array key type but not value type). (Laruence) + . Fixed bug #76446 (zend_variables.c:73: zend_string_destroy: Assertion + `!(zval_gc_flags((str)->gc)). (Nikita, Laruence) -- Standard: - . Fixed bug #75781 (substr_count incorrect result). (Laruence) - . Fixed bug #75653 (array_values don't work on empty array). (Nikita) +- Tokenizer: + . Fixed bug #76437 (token_get_all with TOKEN_PARSE flag fails to recognise + close tag). (Laruence) + . Fixed bug #75218 (Change remaining uncatchable fatal errors for parsing + into ParseError). (Nikita) -- Zip: - . Display headers (buildtime) and library (runtime) versions in phpinfo - (with libzip >= 1.3.1). (Remi) +- ZIP: + . Fixed bug #76461 (OPSYS_Z_CPM defined instead of OPSYS_CPM). + (Dennis Birkholz, Remi) -04 Jan 2018, PHP 7.2.1 +07 Jun 2018, PHP 7.3.0alpha1 - Core: - . Fixed bug #75573 (Segmentation fault in 7.1.12 and 7.0.26). (Laruence) - . Fixed bug #75384 (PHP seems incompatible with OneDrive files on demand). - (Anatol) - . Fixed bug #75525 (Access Violation in vcruntime140.dll). (Anatol) - . Fixed bug #74862 (Unable to clone instance when private __clone defined). - (Daniel Ciochiu) - . Fixed bug #75074 (php-process crash when is_file() is used with strings - longer 260 chars). (Anatol) - . Fixed bug #69727 (Remove timestamps from build to make it reproducible). - (jelle van der Waa) - -- CLI server: - . Fixed bug #73830 (Directory does not exist). (Anatol) - -- FPM: - . Fixed bug #64938 (libxml_disable_entity_loader setting is shared between - requests). (Remi) - -- GD: - . Fixed bug #75571 (Potential infinite loop in gdImageCreateFromGifCtx). - (Christoph) - -- Opcache: - . Fixed bug #75608 ("Narrowing occurred during type inference" error). - (Laruence, Dmitry) - . Fixed bug #75579 (Interned strings buffer overflow may cause crash). - (Dmitry) - . Fixed bug #75570 ("Narrowing occurred during type inference" error). + . Improved PHP GC. (Dmitry, Nikita) + . Redesigned the old ext_skel program written in PHP, run: + 'php ext_skel.php' for all options. This means there are no dependencies, + thus making it work on Windows out of the box. (Kalle) + . Removed support for BeOS. (Kalle) + . Add PHP_VERSION to phpinfo() <title/>. (github/MattJeevas) + . Add net_get_interfaces(). (Sara, Joe, Anatol) + . Implemented flexible heredoc and nowdoc syntax, per + RFC https://wiki.php.net/rfc/flexible_heredoc_nowdoc_syntaxes. + (Thomas Punt) + . Added support for references in list() and array destructuring, per + RFC https://wiki.php.net/rfc/list_reference_assignment. + (David Walker) + . Fixed bug #75683 (Memory leak in zend_register_functions() in ZTS mode). (Dmitry) - . Fixed bug #75681 (Warning: Narrowing occurred during type inference, - specific case). (Nikita) - . Fixed bug #75556 (Invalid opcode 138/1/1). (Laruence) - -- PCRE: - . Fixed bug #74183 (preg_last_error not returning error code after error). - (Andrew Nester) - -- Phar: - . Fixed bug #74782 (remove file name from output to avoid XSS). (stas) - -- Standard: - . Fixed bug #75511 (fread not free unused buffer). (Laruence) - . Fixed bug #75514 (mt_rand returns value outside [$min,$max]+ on 32-bit) - (Remi) - . Fixed bug #75535 (Inappropriately parsing HTTP response leads to PHP - segment fault). (Nikita) - . Fixed bug #75409 (accept EFAULT in addition to ENOSYS as indicator - that getrandom() is missing). (sarciszewski) - . Fixed bug #73124 (php_ini_scanned_files() not reporting correctly). - (John Stevenson) - . Fixed bug #75574 (putenv does not work properly if parameter contains - non-ASCII unicode character). (Anatol) - -- Zip: - . Fixed bug #75540 (Segfault with libzip 1.3.1). (Remi) - -30 Nov 2017, PHP 7.2.0 + . Fixed bug #75031 (support append mode in temp/memory streams). (adsr) + . Fixed bug #74860 (Uncaught exceptions not being formatted properly when + error_log set to "syslog"). (Philip Prindeville) + . Fixed bug #75220 (Segfault when calling is_callable on parent). + (andrewnester) + . Fixed bug #69954 (broken links and unused config items in distributed ini + files). (petk) + . Fixed bug #74922 (Composed class has fatal error with duplicate, equal const + properties). (pmmaga) + . Fixed bug #63911 (identical trait methods raise errors during composition). + (pmmaga) + . Fixed bug #75677 (Clang ignores fastcall calling convention on variadic + function). (Li-Wen Hsu) + . Fixed bug #54043 (Remove inconsitency of internal exceptions and user + defined exceptions). (Nikita) + . Fixed bug #53033 (Mathematical operations convert objects to integers). + (Nikita) + . Fixed bug #73108 (Internal class cast handler uses integer instead of + float). (Nikita) + . Fixed bug #75765 (Fatal error instead of Error exception when base class is + not found). (Timur Ibragimov) + . Fixed bug #76198 (Wording: "iterable" is not a scalar type). (Levi Morrison) + . Fixed bug #76137 (config.guess/config.sub do not recognize RISC-V). (cmb) + . Improved effectiveness of ZEND_SECURE_ZERO for NetBSD and systems + without native similar feature (devnexen). - BCMath: - . Fixed bug #46564 (bcmod truncates fractionals). (liborm85) - -- CLI: - . Fixed bug #74849 (Process is started as interactive shell in PhpStorm). - (Anatol) - . Fixed bug #74979 (Interactive shell opening instead of script execution - with -f flag). (Anatol) - -- CLI server: - . Fixed bug #60471 (Random "Invalid request (unexpected EOF)" using a router - script). (SammyK) - -- Core: - . Added ZEND_COUNT, ZEND_GET_CLASS, ZEND_GET_CALLED_CLASS, ZEND_GET_TYPE, - ZEND_FUNC_NUM_ARGS, ZEND_FUNC_GET_ARGS instructions, to implement - corresponding builtin functions. (Dmitry) - . "Countable" interface is moved from SPL to Core. (Dmitry) - . Added ZEND_IN_ARRAY instruction, implementing optimized in_array() builtin - function, through hash lookup in flipped array. (Dmitry) - . Removed IS_TYPE_IMMUTABLE (it's the same as COPYABLE & !REFCOUNTED). (Dmitry) - . Removed the sql.safe_mode directive. (Kalle) - . Removed support for Netware. (Kalle) - . Renamed ReflectionClass::isIterateable() to ReflectionClass::isIterable() - (alias original name for BC). (Sara) - . Fixed bug #54535 (WSA cleanup executes before MSHUTDOWN). (Kalle) - . Implemented FR #69791 (Disallow mail header injections by extra headers) - (Yasuo) - . Implemented FR #49806 (proc_nice() for Windows). (Kalle) - . Fix pthreads detection when cross-compiling (ffontaine) - . Fixed memory leaks caused by exceptions thrown from destructors. (Bob, - Dmitry). - . Fixed bug #73215 (uniqid() should use better random source). (Yasuo) - . Implemented FR #72768 (Add ENABLE_VIRTUAL_TERMINAL_PROCESSING flag for - php.exe). (Michele Locati) - . Implemented "Convert numeric keys in object/array casts" RFC, fixes - bugs #53838, #61655, #66173, #70925, #72254, etc. (Andrea) - . Implemented "Deprecate and Remove Bareword (Unquoted) Strings" RFC. - (Rowan Collins) - . Raised minimum supported Windows versions to Windows 7/Server 2008 R2. - (Anatol) - . Implemented minor optimization in array_keys/array_values(). (Sara) - . Added PHP_OS_FAMILY constant to determine on which OS we are. (Jan Altensen) - . Fixed bug #73987 (Method compatibility check looks to original - definition and not parent). (pmmaga) - . Fixed bug #73991 (JSON_OBJECT_AS_ARRAY not respected). (Sara) - . Fixed bug #74053 (Corrupted class entries on shutdown when a destructor - spawns another object). (jim at commercebyte dot com) - . Fixed bug #73971 (Filename got limited to MAX_PATH on Win32 when scan - directory). (Anatol) - . Fixed bug #72359, bug #72451, bug #73706, bug #71115 and others related - to interned strings handling in TS builds. (Anatol, Dmitry) - . Implemented "Trailing Commas In List Syntax" RFC for group use lists only. - (Sammy Kaye Powers) - . Fixed bug #74269 (It's possible to override trait property with different - loosely-equal value). (pmmaga) - . Fixed bug #61970 (Restraining __construct() access level in subclass gives - a fatal error). (pmmaga) - . Fixed bug #63384 (Cannot override an abstract method with an abstract - method). (pmmaga, wes) - . Fixed bug #74607 (Traits enforce different inheritance rules). (pmmaga) - . Fixed misparsing of abstract unix domain socket names. (Sara) - . Change PHP_OS_FAMILY value from "OSX" to "Darwin". (Sebastian, Kalle) - . Allow loading PHP/Zend extensions by name in ini files (extension=<name>). - (francois at tekwire dot net) - . Added object type annotation. (brzuchal) - . Fixed bug #74815 (crash with a combination of INI entries at startup). - (Anatol) - . Fixed bug #74836 (isset on zero-prefixed numeric indexes in array broken). - (Dmitry) - . Added new VM instuctions ISSET_ISEMPTY_CV and UNSET_CV. Previously they - were implemented as ISSET_ISEMPTY_VAR and UNSET_VAR variants with - ZEND_QUICK_SET flag. (Nikita, Dmitry) - . Fixed bug #49649 (unserialize() doesn't handle changes in property - visibility). (pmmaga) - . Fixed #74866 (extension_dir = "./ext" now use current directory for base). - (Francois Laupretre) - . Implemented FR #74963 (Improved error message on fetching property of - non-object). (Laruence) - . Fixed Bug #75142 (buildcheck.sh check for autoconf version needs to be updated - for v2.64). (zizzy at zizzy dot net, Remi) - . Fixed bug #74878 (Data race in ZTS builds). (Nikita, Dmitry) - . Fixed bug #75515 ("stream_copy_to_stream" doesn't stream anymore). (Sara) + . Fixed bug #66364 (BCMath bcmul ignores scale parameter). (cmb) + . Implemented request #67855 (No way to get current scale in use). (Chris + Wright, cmb) + . Fixed bug #75164 (split_bc_num() is pointless). (cmb) + . Fixed bug #75169 (BCMath errors/warnings bypass PHP's error handling). (cmb) - cURL: - . Fixed bug #75093 (OpenSSL support not detected). (Remi) - . Better fix for #74125 (use pkg-config instead of curl-config). (Remi) + . Fixed bug #74125 (Fixed finding CURL on systems with multiarch support). + (cebe) - Date: - . Fixed bug #55407 (Impossible to prototype DateTime::createFromFormat). - (kelunik) - . Implemented FR #71520 (Adding the DateTime constants to the - DateTimeInterface interface). (Majkl578) - . Fixed bug #75149 (redefinition of typedefs ttinfo and t1info). (Remi) + . Implemented FR #74668: Add DateTime::createFromImmutable() method. + (majkl578, Rican7) . Fixed bug #75222 (DateInterval microseconds property always 0). (jhdxr) + . Fixed bug #68406 (calling var_dump on a DateTimeZone object modifies it). + (jhdxr) + . Fixed bug #76131 (mismatch arginfo for date_create). (carusogabriel) -- Dba: - . Fixed bug #72885 (flatfile: dba_fetch() fails to read replaced entry). - (Anatol) - -- DOM: - . Implement #74837 (Implement Countable for DomNodeList and DOMNamedNodeMap). - (Andreas Treichel) - -- EXIF: - . Added support for vendor specific tags for the following formats: - Samsung, DJI, Panasonic, Sony, Pentax, Minolta, Sigma/Foveon, AGFA, - Kyocera, Ricoh & Epson. (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) - . Implemented #65187 (exif_read_data/thumbnail: add support for stream - resource). (Kalle) - . Deprecated the read_exif_data() alias. (Kalle) - . Fixed bug #74428 (exif_read_data(): "Illegal IFD size" warning occurs with - correct exif format). (bradpiccho at gmail dot com, Kalle) - . Fixed bug #72819 (EXIF thumbnails not read anymore). (Kalle) - . Fixed bug #62523 (php crashes with segfault when exif_read_data called). - (Kalle) - . Fixed bug #50660 (exif_read_data(): Illegal IFD offset (works fine with - other exif readers). (skinny dot bravo at gmail dot com, Kalle) - -- Fileinfo: - . Upgrade bundled libmagic to 5.31. (Anatol) - -- FPM: - . Configuration to limit fpm slow log trace callers. (Sannis) - . Fixed bug #75212 (php_value acts like php_admin_value). (Remi) - -- FTP: - . Implement MLSD for structured listing of directories. (blar) - . Added ftp_append() function. (blar) +- DBA: + . Fixed bug #75264 (compiler warnings emitted). (petk) - GD: - . Implemented imageresolution as getter and setter (Christoph) - . Fixed bug #74744 (gd.h: stdarg.h include missing for va_list use in - gdErrorMethod). (rainer dot jung at kippdata dot de, cmb) - . Fixed bug #75111 (Memory disclosure or DoS via crafted .bmp image). (cmb) + . Added support for WebP in imagecreatefromstring() (Andreas Treichel, cmb). - GMP: - . Fixed bug #70896 (gmp_fact() silently ignores non-integer input). (Sara) - -- Hash: - . Changed HashContext from resource to object. (Rouven Weßling, Sara) - . Disallowed usage of non-cryptographic hash functions with HMAC and PBKDF2. - (Andrey Andreev, Nikita) - . Fixed Bug #75284 (sha3 is not supported on bigendian machine). (Remi) + . Export internal structures and accessor helpers for GMP object. (Sara) + . Added gmp_binomial(n, k). (Nikita) + . Added gmp_lcm(a, b). (Nikita) + . Added gmp_perfect_power(a). (Nikita) + . Added gmp_kronecker(a, b). (Nikita) -- IMAP: - . Fixed bug #72324 (imap_mailboxmsginfo() return wrong size). - (ronaldpoon at udomain dot com dot hk, Kalle) +- interbase: + . Fixed bug #75453 (Incorrect reflection for ibase_[p]connect). (villfa) -- Intl: - . Fixed bug #63790 (test using Spoofchecker which may be unavailable). (Sara) - . Fixed bug #75378 ([REGRESSION] IntlDateFormatter::parse() does not change - $position argument). (Laruence) +- intl: + . Fixed bug #75317 (UConverter::setDestinationEncoding changes source instead + of destination). (andrewnester) - JSON: - . Add JSON_INVALID_UTF8_IGNORE and JSON_INVALID_UTF8_SUBSTITUTE options for - json_encode and json_decode to ignore or replace invalid UTF-8 byte - sequences - it addresses request #65082. (Jakub Zelenka) - . Fixed bug #75185 (Buffer overflow in json_decode() with - JSON_INVALID_UTF8_IGNORE or JSON_INVALID). (Jakub Zelenka) - . Fixed bug #68567 (JSON_PARTIAL_OUTPUT_ON_ERROR can result in JSON with null - key). (Jakub Zelenka) + . Added JSON_THROW_ON_ERROR flag. (Andrea) - LDAP: - . Implemented FR #69445 (Support for LDAP EXOP operations) - . Fixed support for LDAP_OPT_SERVER_CONTROLS and LDAP_OPT_CLIENT_CONTROLS in ldap_get_option - . Fixed passing an empty array to ldap_set_option for client or server controls. + . Added ldap_exop_refresh helper for EXOP REFRESH operation with dds overlay. + (Come) + . Added full support for sending and parsing ldap controls (Come) + . Fixed bug #49876 (Fix LDAP path lookup on 64-bit distros). (dzuelke) + +- libxml2: + . Fixed bug #75871 (use pkg-config where available). (pmmaga) -- 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) - . Update to oniguruma version 6.3.0. (Remi) - . Fixed bug #69267 (mb_strtolower fails on titlecase characters). (Nikita) +- litespeed: + . Fixed bug #75248 (Binary directory doesn't get created when building + only litespeed SAPI). (petk) + . Fixed bug #75251 (Missing program prefix and suffix). (petk) -- Mcrypt: - . The deprecated mcrypt extension has been moved to PECL. (leigh) +- mbstring: + . Fixed bug #65544 (mb title case conversion-first word in quotation isn't + capitalized). (Nikita) + . Fixed bug #71298 (MB_CASE_TITLE misbehaves with curled apostrophe/quote. + (Nikita) + . Fixed bug #73528 (Crash in zif_mb_send_mail). (Nikita) + . Fixed bug #74929 (mbstring functions version 7.1.1 are slow compared to 5.3 + on Windows). (Nikita) + . Fixed bug #76319 (mb_strtolower with invalid UTF-8 causes segmentation + fault). (Nikita) + . Updated to Oniguruma 6.8.2. (cmb) -- Opcache: - . Added global optimisation passes based on data flow analysis using Single - Static Assignment (SSA) form: Sparse Conditional Constant Propagation (SCCP), - Dead Code Elimination (DCE), and removal of unused local variables - (Nikita, Dmitry) - . Fixed incorect constant conditional jump elimination. (Dmitry) - . Fixed bug #75230 (Invalid opcode 49/1/8 using opcache). (Laruence) - . Fixed bug (assertion fails with extended info generated). (Laruence) - . Fixed bug (Phi sources removel). (Laruence) - . Fixed bug #75370 (Webserver hangs on valid PHP text). (Laruence) - . Fixed bug #75357 (segfault loading WordPress wp-admin). (Laruence) +- ODBC: + . Removed support for ODBCRouter. (Kalle) + . Removed support for Birdstep. (Kalle) - OpenSSL: - . Use TLS_ANY for default ssl:// and tls:// negotiation. (kelunik) - . Fix leak in openssl_spki_new(). (jelle at vdwaa dot nl) - . Added openssl_pkcs7_read() and pk7 parameter to openssl_pkcs7_verify(). - (jelle at vdwaa dot nl) - . Add ssl security_level stream option to support OpenSSL security levels. - (Jakub Zelenka). - . Allow setting SNI cert and private key in separate files. (Jakub Zelenka) - . Fixed bug #74903 (openssl_pkcs7_encrypt() uses different EOL than before). - (Anatol) - . Automatically load OpenSSL configuration file. (Jakub Zelenka) + . Added openssl_pkey_derive function. (Jim Zubov) - PCRE: - . Added support for PCRE JIT fast path API. (dmitry) - . Fixed bug #61780 (Inconsistent PCRE captures in match results). (cmb) - . Fixed bug #74873 (Minor BC break: PCRE_JIT changes output of preg_match()). - (Dmitry) - . Fixed bug #75089 (preg_grep() is not reporting PREG_BAD_UTF8_ERROR after - first input string). (Dmitry) - . Fixed bug #75223 (PCRE JIT broken in 7.2). (Dmitry) - . Fixed bug #75285 (Broken build when system libpcre don't have jit support). - (Remi) - -- phar: - . Fixed bug #74196 (phar does not correctly handle names containing dots). - (mhagstrand) - -- PDO: - . Add "Sent SQL" to debug dump for emulated prepares. (Adam Baratz) - . Add parameter types for national character set strings. (Adam Baratz) + . Implemented https://wiki.php.net/rfc/pcre2-migration (Anatol, Dmitry) + . Fixed bug #75355 (preg_quote() does not quote # control character). + (Michael Moravec) - PDO_DBlib: - . Fixed bug #73234 (Emulated statements let value dictate parameter type). - (Adam Baratz) - . Fixed bug #73396 (bigint columns are returned as strings). (Adam Baratz) - . Expose DB-Library version as \PDO::DBLIB_ATTR_VERSION attribute on \PDO - instance. (Adam Baratz) - . Add test coverage for bug #72969. (Jeff Farr) + . Implemented request #69592 (allow 0-column rowsets to be skipped + automatically). (fandrieu) + . Fixed bug #74243 (allow locales.conf to drive datetime format). (fandrieu) + . Expose TDS version as \PDO::DBLIB_ATTR_TDS_VERSION attribute on \PDO + instance. (fandrieu) + . Treat DATETIME2 columns like DATETIME. (fandrieu) - PDO_OCI: - . Fixed Bug #74537 (Align --with-pdo-oci configure option with --with-oci8 syntax). - (Tianfang Yang) + . Fixed bug #74631 (PDO_PCO with PHP-FPM: OCI environment initialized + before PHP-FPM sets it up). (Ingmar Runge) + +- PDO SQLite + . Add support for additional open flags -- PDO_Sqlite - . Switch to sqlite3_prepare_v2() and sqlite3_close_v2() functions (rasmus) +- pgsql: + . Added new error constants for pg_result_error(): (Kalle) + - Requires Postgres 9.3 + - PGSQL_DIAG_SCHEMA_NAME + - PGSQL_DIAG_TABLE_NAME + - PGSQL_DIAG_COLUMN_NAME + - PGSQL_DIAG_DATATYPE_NAME + - PGSQL_DIAG_CONSTRAINT_NAME + - Requires Postgres 9.6 + - PGSQL_DIAG_SEVERITY_NONLOCALIZED -- PHPDBG - . Added extended_value to opcode dump output. (Sara) +- phar: + . Fixed bug #74991 (include_path has a 4096 char limit in some cases). + (bwbroersma) + . Fixed bug #65414 (deal with leading slash when adding files correctly). + (bishopb) + +- readline: + . Added completion_append_character and completion_suppress_append options + to readline_info() if linked against libreadline. (krageon) - Session: - . Fixed bug #73461 (Prohibit session save handler recursion). (Yasuo) - . PR #2233 Removed register_globals related code and "!" can be used as $_SESSION key name. (Yasuo) - . Improved bug #73100 fix. 'user' save handler can only be set by session_set_save_handler() - . Fixed bug #74514 (5 session functions incorrectly warn when calling in - read-only/getter mode). (Yasuo) - . Fixed bug #74936 (session_cache_expire/cache_limiter/save_path() trigger a - warning in read mode). (morozov) . Fixed bug #74941 (session fails to start after having headers sent). (morozov)
« previous php.cvs (#102208) next »