mirror of
https://github.com/php/php-src.git
synced 2024-09-24 11:27:28 +00:00
fix possible NULL dereference
This commit is contained in:
parent
d28ec107ac
commit
036fc47efb
@ -611,6 +611,7 @@ static int do_fetch_class_prepare(pdo_stmt_t *stmt TSRMLS_DC) /* {{{ */
|
||||
|
||||
if (!ce) {
|
||||
stmt->fetch.cls.ce = ZEND_STANDARD_CLASS_DEF_PTR;
|
||||
ce = ZEND_STANDARD_CLASS_DEF_PTR;
|
||||
}
|
||||
|
||||
if (ce->constructor) {
|
||||
|
Loading…
Reference in New Issue
Block a user