diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-10-29 11:52:10 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-10-29 11:59:12 +0100 |
commit | c21e901ba735e927e345b65a35fcd6f585d0c2f3 (patch) | |
tree | 354dae192cb27de6b6b96250ab3b7ebcc6699e5e /Zend/zend_opcode.c | |
parent | 7817fc07e150620be38a16dd29e50c71e51948a7 (diff) | |
download | php-git-c21e901ba735e927e345b65a35fcd6f585d0c2f3.tar.gz |
Fix #44618: Fetching may rely on uninitialized data
Unless `SQLGetData()` returns `SQL_SUCCESS` or `SQL_SUCCESS_WITH_INFO`,
the `StrLen_or_IndPtr` output argument is not guaranteed to be properly
set. Thus we handle retrieval failure other than `SQL_ERROR` by
yielding `false` for those column values and raising a warning.
Closes GH-6281.
Diffstat (limited to 'Zend/zend_opcode.c')
0 files changed, 0 insertions, 0 deletions