mirror of
https://github.com/php/php-src.git
synced 2026-04-09 09:03:04 +02:00
Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4
* 'PHP-5.4' of https://git.php.net/repository/php-src: Fixed segfault in mysqlnd when doing long prepare
This commit is contained in:
3
NEWS
3
NEWS
@@ -33,6 +33,9 @@ PHP NEWS
|
||||
. Fixed bug #62759 (Buggy grapheme_substr() on edge case). (Stas)
|
||||
. Fixed bug #61860 (Offsets may be wrong for grapheme_stri* functions).
|
||||
(Stas)
|
||||
|
||||
- mysqlnd:
|
||||
. Fixed segfault in mysqlnd when doing long prepare. (Andrey)
|
||||
|
||||
- ODBC:
|
||||
. Fixed bug #61387 (NULL valued anonymous column causes segfault in
|
||||
|
||||
50
ext/mysqli/tests/mysqli_stmt_big_prepare.phpt
Normal file
50
ext/mysqli/tests/mysqli_stmt_big_prepare.phpt
Normal file
File diff suppressed because one or more lines are too long
@@ -626,6 +626,7 @@ mysqlnd_stmt_execute_store_params(MYSQLND_STMT * s, zend_uchar **buf, zend_uchar
|
||||
*p += null_count;
|
||||
}
|
||||
|
||||
left = (*buf_len - (*p - *buf));
|
||||
/* 1. Store type information */
|
||||
/*
|
||||
check if need to send the types even if stmt->send_types_to_server is 0. This is because
|
||||
|
||||
Reference in New Issue
Block a user