summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2013-12-17 08:45:30 +0100
committerAnatol Belski <ab@php.net>2013-12-17 08:45:30 +0100
commitbeed28844bd4e0806ebc29aa71900fbbc40e1c1a (patch)
tree7969f14746f3c3dc5bd97b720f5698e5245d4d74
parentb331a219befa520c7bdca39c595bbf4216e40e6a (diff)
parent5e5ecaea6e8f56479e591c2e0de7f0a3b7d0af11 (diff)
downloadphp-git-beed28844bd4e0806ebc29aa71900fbbc40e1c1a.tar.gz
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: 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: