8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 13:23:02 +01:00

Fixed CORE-1919 - Memory corruptions in EXECUTE STATEMENT may crash the server

This commit is contained in:
asfernandes 2008-06-01 01:19:54 +00:00
parent d7c78dd126
commit 0d84abc6d4

View File

@ -1747,7 +1747,7 @@ for_select : label_opt FOR select INTO variable_list cursor_def DO proc_block
// ;
//
//exec_into : EXECUTE STATEMENT value INTO variable_list
// { $$ = make_node (nod_exec_into, (int) e_exec_into_count, $3, 0, make_list ($5)); }
// { $$ = make_node (nod_exec_into, (int) e_exec_into_count, $3, NULL, make_list ($5), NULL); }
// ;
exec_sql
@ -1755,7 +1755,7 @@ exec_sql
ext_datasrc_opt ext_user_opt ext_pwd_opt ext_tran_opt
{
$$ = make_node (nod_exec_stmt, int (e_exec_stmt_count),
($3)->nod_arg[0], ($3)->nod_arg[1], 0, 0, $4, $5, $6, $7, 0);
($3)->nod_arg[0], ($3)->nod_arg[1], NULL, NULL, $4, $5, $6, $7, NULL);
}
;
@ -1765,7 +1765,7 @@ exec_into
INTO variable_list
{
$$ = make_node (nod_exec_stmt, int (e_exec_stmt_count),
($3)->nod_arg[0], ($3)->nod_arg[1], make_list ($9), 0, $4, $5, $6, $7, 0);
($3)->nod_arg[0], ($3)->nod_arg[1], make_list ($9), NULL, $4, $5, $6, $7, NULL);
}
;