diff options
author | Ulf Wendel <uw@php.net> | 2009-09-11 12:16:56 +0000 |
---|---|---|
committer | Ulf Wendel <uw@php.net> | 2009-09-11 12:16:56 +0000 |
commit | c4c11fd38a69781cbecab07dcc817ce85bf8e0ed (patch) | |
tree | 575a88a5c47132e6e4d6b334a3640b2821244c51 /ext/mysqli/php_mysqli_structs.h | |
parent | b39126de9ae93a7017908f32ddfe36579e2f199a (diff) | |
download | php-git-c4c11fd38a69781cbecab07dcc817ce85bf8e0ed.tar.gz |
Fixing a crash which must have existed since PHP 5.0. At least the crash can be reproduced with PHP 5.0.6. The crash happens only when using the MySQL Client Library (libmysql) - it does not happen
when using mysqlnd.
Diffstat (limited to 'ext/mysqli/php_mysqli_structs.h')
-rw-r--r-- | ext/mysqli/php_mysqli_structs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/mysqli/php_mysqli_structs.h b/ext/mysqli/php_mysqli_structs.h index ce02059488..81d1044ce1 100644 --- a/ext/mysqli/php_mysqli_structs.h +++ b/ext/mysqli/php_mysqli_structs.h @@ -73,8 +73,9 @@ enum mysqli_status { }; typedef struct { - ulong buflen; char *val; + ulong buflen; + ulong output_len; ulong type; } VAR_BUFFER; |