com php-src: fix uninitialized value: ext/mysqlnd/mysqlnd_ps _codec.c
| From: | Anatol Belski | Date: | Tue, 14 Jan 2014 08:47:27 +0000 |
| Subject: | com php-src: fix uninitialized value: ext/mysqlnd/mysqlnd_ps _codec.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-75610@lists.php.net to get a copy of this message | ||
Commit: 25e57e702b96c5b685257c0ee5126bf78f824356
Author: Anatol Belski <ab@php.net> Tue, 14 Jan 2014 09:47:27 +0100
Parents: 681e1a5ce0d8b4bcadf40cd608c5f72f9ad73394
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=25e57e702b96c5b685257c0ee5126bf78f824356
Log:
fix uninitialized value
Changed paths:
M ext/mysqlnd/mysqlnd_ps_codec.c
Diff:
diff --git a/ext/mysqlnd/mysqlnd_ps_codec.c b/ext/mysqlnd/mysqlnd_ps_codec.c
index e08bb26..1af4912 100644
--- a/ext/mysqlnd/mysqlnd_ps_codec.c
+++ b/ext/mysqlnd/mysqlnd_ps_codec.c
@@ -670,7 +670,7 @@ mysqlnd_stmt_execute_calculate_param_values_size(MYSQLND_STMT_DATA * stmt, zval
DBG_ENTER("mysqlnd_stmt_execute_calculate_param_values_size");
for (i = 0; i < stmt->param_count; i++) {
- zval ** copies;
+ zval ** copies = NULL;
unsigned int j;
zval *the_var = stmt->param_bind[i].zv;