diff options
author | Andrey Hristov <andrey@php.net> | 2009-12-17 12:30:58 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2009-12-17 12:30:58 +0000 |
commit | 60697e1876e32be757ce45fa97f33aedb3533600 (patch) | |
tree | 780f1f7def87a8c1fca3043353647ec48b6e0930 /ext/mysqlnd/mysqlnd_structs.h | |
parent | 078ecd5f37a138e9bd49d986eb7f3270db9dee81 (diff) | |
download | php-git-60697e1876e32be757ce45fa97f33aedb3533600.tar.gz |
During refactoring of the function mysqlnd_stream_write_w_header() it was
found that there is a bug in the way the data is sent, although a very rare
one which will only affect very large queries which have length 16777214. The
communication will hang. A way to test it is to execute the following:
./php -r '$c=mysqli_connect("127.0.0.1","root","root","test");
$q="insert into test.tblob values(\"".str_repeat("a",256*256*256-1-34)."\")";
$c->query($q);'
Diffstat (limited to 'ext/mysqlnd/mysqlnd_structs.h')
0 files changed, 0 insertions, 0 deletions