Bug #74021 [Asn->Csd]: fetch_array broken data. Data more then MEDIUMBLOB
| From: | nikic@php.net | Date: | Wed, 01 Mar 2017 14:56:07 +0000 |
| Subject: | Bug #74021 [Asn->Csd]: fetch_array broken data. Data more then MEDIUMBLOB | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-207636@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
Updated by: nikic@php.net
Reported by: mavgust at radaris dot com
Summary: fetch_array broken data. Data more then MEDIUMBLOB
-Status: Assigned
+Status: Closed
Type: Bug
Package: MySQLi related
Operating System: Linux(Centos)
PHP Version: 7.1.1
-Assigned To:
+Assigned To: nikic
Block user comment: N
Private report: N
New Comment:
The fix is in 7.0.17 and 7.1.3. So yes, 7.1.2 still has the issue.
Previous Comments:
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
[2017-02-12 11:55:33] nikic@php.net
Related To: Bug #74086
------------------------------------------------------------------------
[2017-02-12 11:52:04] nikic@php.net
Automatic comment on behalf of andrew.nester.dev@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=01c1afa79f614fe8376e73f4e73f392160923745
Log: Fixed bug #74021
------------------------------------------------------------------------
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