com php-src: Merge branch 'PHP-7.1' into PHP-7.2: NEWS ext/ftp/ftp.c

From: Date: Fri, 05 Oct 2018 16:41:28 +0000
Subject: com php-src: Merge branch 'PHP-7.1' into PHP-7.2: NEWS ext/ftp/ftp.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-103361@lists.php.net to get a copy of this message
Commit: fde2ae3721b7e2b97a382347c06b307c6ad8874c Author: Nikita Popov <nikita.ppv@gmail.com> Fri, 5 Oct 2018 18:41:16 +0200 Parents: 42b769b9e237f7d24bc0ba4a953846ea6556932f bb4a2e8bb7fc80fa5b3725508bcc8fea525f059b Branches: PHP-7.2 PHP-7.3 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=fde2ae3721b7e2b97a382347c06b307c6ad8874c Log: Merge branch 'PHP-7.1' into PHP-7.2 Changed paths: MM NEWS MM ext/ftp/ftp.c Diff: diff --cc NEWS index 60160d6,837d306..ee75ecd --- a/NEWS +++ b/NEWS @@@ -8,21 -6,20 +8,25 @@@ PH . Fixed bug #76946 (Cyclic reference in generator not detected). (Nikita) - FCGI: - . Fixed bug #76948 (Failed shutdown/reboot or end session in Windows). - (Anatol) + . Fixed #76948 (Failed shutdown/reboot or end session in Windows). (Anatol) + - FTP: + . Fixed bug #76972 (Data truncation due to forceful ssl socket shutdown).. + (Manuel Mausz) + -11 Oct 2018, PHP 7.1.23 +- Reflection: + . Fixed bug #76936 (Objects cannot access their private attributes while + handling reflection errors). (Nikita) + . Fixed bug #66430 (ReflectionFunction::invoke does not invoke closure with + object scope). (Nikita) + +11 Oct 2018, PHP 7.2.11 - Core: + . Fixed bug #76800 (foreach inconsistent if array modified during loop). + (Dmitry) . Fixed bug #76901 (method_exists on SPL iterator passthrough method corrupts memory). (Nikita) - . Fixed bug #76846 (Segfault in shutdown function after memory limit error). - (Nikita) - CURL: . Fixed bug #76480 (Use curl_multi_wait() so that timeouts are respected). diff --cc ext/ftp/ftp.c index 6d03f86,88553b9..9b40902 --- a/ext/ftp/ftp.c +++ b/ext/ftp/ftp.c @@@ -98,8 -110,13 +99,13 @@@ static databuf_t* data_accept(databuf_ static databuf_t* data_close(ftpbuf_t *ftp, databuf_t *data); /* generic file lister */ -static char** ftp_genlist(ftpbuf_t *ftp, const char *cmd, const char *path); +static char** ftp_genlist(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len, const char *path, const size_t path_len); + #ifdef HAVE_FTP_SSL + /* shuts down a TLS/SSL connection */ + static void ftp_ssl_shutdown(ftpbuf_t *ftp, php_socket_t fd, SSL *ssl_handle); + #endif + /* IP and port conversion box */ union ipbox { struct in_addr ia[2];

« previous php.cvs (#103361) next »