mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Fixed zval_ptr_dtor(&return_value) on uninicialized zval
This commit is contained in:
parent
87df726f05
commit
cf5a6f81e3
1 changed files with 2 additions and 0 deletions
|
@ -729,6 +729,8 @@ static int do_fetch(pdo_stmt_t *stmt, int do_bind, zval *return_value,
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
RETVAL_FALSE;
|
||||||
|
|
||||||
switch (how) {
|
switch (how) {
|
||||||
case PDO_FETCH_ASSOC:
|
case PDO_FETCH_ASSOC:
|
||||||
case PDO_FETCH_BOTH:
|
case PDO_FETCH_BOTH:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue