mirror of
https://github.com/php/php-src.git
synced 2024-12-02 22:34:55 +08:00
- Fixed bug #66311 (Stack smashing protection kills PDO/ODBC queries) patch by: michael at orlitzky dot com
This commit is contained in:
parent
97bf254385
commit
a056113586
@ -551,7 +551,8 @@ static int odbc_stmt_describe(pdo_stmt_t *stmt, int colno TSRMLS_DC)
|
||||
struct pdo_column_data *col = &stmt->columns[colno];
|
||||
RETCODE rc;
|
||||
SWORD colnamelen;
|
||||
SDWORD colsize, displaysize;
|
||||
SDWORD colsize;
|
||||
SQLLEN displaysize;
|
||||
|
||||
rc = SQLDescribeCol(S->stmt, colno+1, S->cols[colno].colname,
|
||||
sizeof(S->cols[colno].colname)-1, &colnamelen,
|
||||
|
Loading…
Reference in New Issue
Block a user