summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2013-12-17 08:45:07 +0100
committerAnatol Belski <ab@php.net>2013-12-17 08:45:07 +0100
commit5e5ecaea6e8f56479e591c2e0de7f0a3b7d0af11 (patch)
tree9232a272c9cdfaf37f8ca329087d5deb7bacb1ff
parent57408f9c85bbb40004520d2e193998fdf190c17d (diff)
parent2303d0ea2257ecb9f06d19c4a62c4909a4cfdfa0 (diff)
downloadphp-git-5e5ecaea6e8f56479e591c2e0de7f0a3b7d0af11.tar.gz
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4: fixed possibly uninitialized value usage
-rw-r--r--ext/pdo_odbc/odbc_stmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_odbc/odbc_stmt.c b/ext/pdo_odbc/odbc_stmt.c
index 0e3fd3cbb9..89b67210c5 100644
--- a/ext/pdo_odbc/odbc_stmt.c
+++ b/ext/pdo_odbc/odbc_stmt.c
@@ -472,7 +472,7 @@ static int odbc_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *p
if (P->outbuf) {
unsigned long ulen;
char *srcbuf;
- unsigned long srclen;
+ unsigned long srclen = 0;
switch (P->len) {
case SQL_NULL_DATA: