From c4c11fd38a69781cbecab07dcc817ce85bf8e0ed Mon Sep 17 00:00:00 2001 From: Ulf Wendel Date: Fri, 11 Sep 2009 12:16:56 +0000 Subject: 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. --- ext/mysqli/php_mysqli_structs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ext/mysqli/php_mysqli_structs.h') 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; -- cgit v1.2.1