Bug #74021 [Com]: fetch_array broken data. Data more then MEDIUMBLOB

From: Date: Tue, 14 Mar 2017 20:55:31 +0000
Subject: Bug #74021 [Com]: fetch_array broken data. Data more then MEDIUMBLOB
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-207834@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74021&edit=1 ID: 74021 Comment by: spam2 at rhsoft dot net Reported by: mavgust at radaris dot com Summary: fetch_array broken data. Data more then MEDIUMBLOB Status: Closed Type: Bug Package: MySQLi related Operating System: Linux(Centos) PHP Version: 7.1.1 Assigned To: nikic Block user comment: N Private report: N New Comment: 'fetch_array' is for sure not the only affected part since we don#t use taht function anywhere while to currently not announced 7.0.17GA fixes that regression in case of fetch_assoc() Previous Comments: ------------------------------------------------------------------------ [2017-03-01 14:56:22] spam2 at rhsoft dot net it's known because the commit did not make it into 7.1.2 who's RC was long out may i suggest to the developers that they add a comment in which release a fix will be included when closing bugs so that such a closed/re-open not happens all the time? ------------------------------------------------------------------------ [2017-03-01 14:56:05] nikic@php.net The fix is in 7.0.17 and 7.1.3. So yes, 7.1.2 still has the issue. ------------------------------------------------------------------------ [2017-03-01 14:32:50] mavgust at radaris dot com I test in php 7.1.2 this bug not fixed $res = $m->query("SELECT RPAD('1',9000000,'1') as a,RPAD('1',9000000,'1') as b") $r = $res->fetch_array() md5($r['a']) = 42ca0fd16ab6b6d4b9d47dc0a4a8b12a md5($r['b']) = 6344f4429e683a9d37bef06feecbfe87 ------------------------------------------------------------------------ [2017-02-27 21:47:42] nikic@php.net Related To: Bug #74179 ------------------------------------------------------------------------ [2017-02-16 09:55:23] spam2 at rhsoft dot net i have similar issues on 7.0.15 with a 15 MB base64 data column and fetch_assoc(), hopefully this will be fixed too soon [16-Feb-2017 10:33:15 Europe/Vienna] PHP Warning: mysqli_fetch_assoc() [<a href='http://at.php.net/manual/de/function.mysqli-fetch-assoc.php'>function.mysqli-fetch-assoc.php</a>]: Malformed server packet. Field length pointing 22 bytes after end of packet in /phpincludes/global_mysql_class.inc.php on line 639 [16-Feb-2017 10:33:15 Europe/Vienna] PHP Warning: mysqli_fetch_assoc() [<a href='http://at.php.net/manual/de/function.mysqli-fetch-assoc.php'>function.mysqli-fetch-assoc.php</a>]: Error while reading a row in /phpincludes/global_mysql_class.inc.php on line 639 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=74021 -- Edit this bug report at https://bugs.php.net/bug.php?id=74021&edit=1

« previous php.bugs (#207834) next »