Skip to content

Commit 9f1075b

Browse files
committed
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: - Fixed bug #66311 (Stack smashing protection kills PDO/ODBC queries) patch by: michael at orlitzky dot com
2 parents 0525dce + 8e36d36 commit 9f1075b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/pdo_odbc/odbc_stmt.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,8 @@ static int odbc_stmt_describe(pdo_stmt_t *stmt, int colno TSRMLS_DC)
551551
struct pdo_column_data *col = &stmt->columns[colno];
552552
RETCODE rc;
553553
SWORD colnamelen;
554-
SDWORD colsize, displaysize;
554+
SDWORD colsize;
555+
SQLLEN displaysize;
555556

556557
rc = SQLDescribeCol(S->stmt, colno+1, S->cols[colno].colname,
557558
sizeof(S->cols[colno].colname)-1, &colnamelen,

0 commit comments

Comments
 (0)