mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Fixed PDO_Firebird: bug 53280 segfaults if query column count is less than param count
This commit is contained in:
parent
24227957bf
commit
853b48dc30
@ -585,6 +585,9 @@ static int firebird_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_dat
|
||||
if (param->paramno == -1) {
|
||||
return 0;
|
||||
}
|
||||
if (param->is_param) {
|
||||
break;
|
||||
}
|
||||
value = NULL;
|
||||
value_len = 0;
|
||||
caller_frees = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user