summaryrefslogtreecommitdiff
path: root/Zend/zend_opcode.c
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-10-29 11:52:10 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2020-10-29 11:59:12 +0100
commitc21e901ba735e927e345b65a35fcd6f585d0c2f3 (patch)
tree354dae192cb27de6b6b96250ab3b7ebcc6699e5e /Zend/zend_opcode.c
parent7817fc07e150620be38a16dd29e50c71e51948a7 (diff)
downloadphp-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