Fixed PDO_Firebird: bug 53280 segfaults if query column count is less than param count

This commit is contained in:
Popa Adrian Marius 2011-12-28 19:58:37 +00:00
parent 24227957bf
commit 853b48dc30

View File

@ -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;