mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 02:43:03 +01:00
Fix buffer overflow.
This commit is contained in:
parent
610594a525
commit
fb282b5a51
@ -3392,10 +3392,14 @@ static void blr_print_verb(gds_ctl* control, SSHORT level)
|
||||
|
||||
int inputs = 0;
|
||||
int outputs = 0;
|
||||
|
||||
while ((blr_operator = control->ctl_blr_reader.getByte()) != blr_end)
|
||||
{
|
||||
blr_indent(control, level);
|
||||
blr_format(control, "blr_exec_stmt_%s, ", sub_codes[blr_operator]);
|
||||
|
||||
if (blr_operator > 0 && blr_operator < FB_NELEM(sub_codes))
|
||||
blr_format(control, "blr_exec_stmt_%s, ", sub_codes[blr_operator]);
|
||||
|
||||
switch (blr_operator)
|
||||
{
|
||||
case blr_exec_stmt_inputs:
|
||||
|
Loading…
Reference in New Issue
Block a user