1
0
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:
Popa Adrian Marius
2011-12-28 19:58:37 +00:00
parent d9f334c633
commit 596b37daf1

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;