Skip to content

Commit beed288

Browse files
committed
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: fixed possibly uninitialized value usage
2 parents b331a21 + 5e5ecae commit beed288

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/pdo_odbc/odbc_stmt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ static int odbc_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *p
472472
if (P->outbuf) {
473473
unsigned long ulen;
474474
char *srcbuf;
475-
unsigned long srclen;
475+
unsigned long srclen = 0;
476476

477477
switch (P->len) {
478478
case SQL_NULL_DATA:

0 commit comments

Comments
 (0)