mirror of
https://github.com/php/php-src.git
synced 2026-03-28 18:22:42 +01:00
Fixed PDO_Firebird: bug 53280 segfaults if query column count is less than param count
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user