mirror of
https://github.com/php/php-src.git
synced 2026-04-09 09:03:04 +02:00
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
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user