]> granicus.if.org Git - php/commitdiff
Merge branch 'PHP-7.0' into PHP-7.1
authorNikita Popov <nikita.ppv@gmail.com>
Thu, 12 Jan 2017 20:14:42 +0000 (21:14 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 12 Jan 2017 20:15:57 +0000 (21:15 +0100)
1  2 
NEWS
ext/mysqlnd/mysqlnd_ps.c

diff --cc NEWS
index dee7ca95130cda1ba55fbf22f33c91c26c1020fe,efbee5e7175ea340d5c3109366f0ba7fa899176b..05e3d9e774f68dcf22c7e56a0b9bf5328aedca59
--- 1/NEWS
--- 2/NEWS
+++ b/NEWS
@@@ -1,19 -1,21 +1,23 @@@
  PHP                                                                        NEWS
  |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 -?? ??? 2017 PHP 7.0.16
 +?? ??? 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)
 +    (Sara)
  
 -- FPM:
 -  . Fixed bug #67583 (double fastcgi_end_request on max_children limit).
 -    (Dmitry Saprykin)
 +- FCGI:
 +  . Fixed bug #73904 (php-cgi fails to load -c specified php.ini file). (Anatol)
  
+ - Mysqlnd:
+   . Fixed bug #69899 (segfault on close() after free_result() with mysqlnd).
+     (Richard Fussenegger)
  - OpenSSL:
    . Fixed bug #71519 (add serial hex to return value array). (xrobau)
 +  . Fixed bug #73692 (Compile ext/openssl with openssl 1.1.0 on Win). (Anatol)
  
  - PDO_Firebird:
    . Implemented FR #72583 (All data are fetched as strings). (Dorin Marcoci)
index c805e6f111765248f461502ee8aa418be8f68385,2631e4a797850bd53acbfe5d7c3d212f1c2ed388..256bbe4d47afa3b4a668ce76da2d4117824fc9e4
@@@ -2032,8 -2005,9 +2032,9 @@@ MYSQLND_METHOD(mysqlnd_stmt, free_resul
                stmt->state = MYSQLND_STMT_PREPARED;
        }
  
-       /* Line is free! */
-       SET_CONNECTION_STATE(&conn->state, CONN_READY);
 -      if (CONN_GET_STATE(stmt->conn) != CONN_QUIT_SENT) {
 -              CONN_SET_STATE(stmt->conn, CONN_READY);
++      if (GET_CONNECTION_STATE(&conn->state) != CONN_QUIT_SENT) {
++              SET_CONNECTION_STATE(&conn->state, CONN_READY);
+       }
  
        DBG_RETURN(PASS);
  }