Browse Source

fix possible NULL dereference

migration/RELEASE_1_0_0
Antony Dovgal 20 years ago
parent
commit
036fc47efb
  1. 1
      ext/pdo/pdo_stmt.c

1
ext/pdo/pdo_stmt.c

@ -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…
Cancel
Save