-
Notifications
You must be signed in to change notification settings - Fork 373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDOStatement::getColumnMeta() crash/segfault #224
Comments
It also crashes when prepare() is used instead of query() even when the column index is valid.
|
MSDN does not define return values for this case, PHP help suggests: Returns FALSE if the requested column does not exist in the result set, or if no result set exists, see http://php.net/manual/en/pdostatement.getcolumnmeta.php |
Fixed by #261 |
My development system is Windows 7 SP1 and the PDO_SQLSRV I use is 4.1.4. The only problem I am having is PDOStatement::getColumnMeta() crash/segfault #224, fixed in 4.3.0. However, this version does not support Windows 7 SP1. Can't we have an update on PDO_SQLSRV 4.1.4 of this bug? |
Yes @eaglebush , starting with v4.3.0 we stopped supporting Windows 7. That means we will no longer test our drivers in Windows 7 platforms, but it doesn't mean the drivers will break. Please feel free to try out v4.3.0 in your Windows 7 SP1. |
PHP call for $stmt->getColumnMeta($index) will crash in Windows, and produce
segmentation fault in Linux if index is out of the range (exceeds the number of columns).
Repro script:
The text was updated successfully, but these errors were encountered: