Skip to content

Commit a056113

Browse files
committed
- Fixed bug #66311 (Stack smashing protection kills PDO/ODBC queries) patch by: michael at orlitzky dot com
1 parent 97bf254 commit a056113

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)