From: Georg Richter Date: Wed, 6 Apr 2005 06:48:13 +0000 (+0000) Subject: MFH: fix for #32282 (segfault in mysqli_fetch_array on 64-bit) X-Git-Tag: php-5.0.5RC1~480 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e65f524f9292abe67ff305f89627a5b93051076f;p=php MFH: fix for #32282 (segfault in mysqli_fetch_array on 64-bit) --- diff --git a/NEWS b/NEWS index 0b430093d9..739545f619 100644 --- a/NEWS +++ b/NEWS @@ -8,6 +8,7 @@ PHP NEWS longer then the original string). (Ilia) - Fixed bug #32491 (File upload error - unable to create a temporary file). (Uwe Schindler) +- Fixed bug #32282 (Segfault in mysqli_fetch_array on 64-bit) (Georg). - Fixed bug #28839 (SIGSEGV in interactive mode (php -a)). (kameshj at fastmail dot fm) diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c index 677b0caf68..4e3217b167 100644 --- a/ext/mysqli/mysqli.c +++ b/ext/mysqli/mysqli.c @@ -582,7 +582,7 @@ void php_mysqli_fetch_into_hash(INTERNAL_FUNCTION_PARAMETERS, int override_flags { MYSQL_RES *result; zval *mysql_result; - int fetchtype; + long fetchtype; unsigned int i; MYSQL_FIELD *fields; MYSQL_ROW row;