Browse Source

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

pull/271/head
Popa Adrian Marius 15 years ago
parent
commit
853b48dc30
  1. 3
      ext/pdo_firebird/firebird_statement.c

3
ext/pdo_firebird/firebird_statement.c

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