mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 10:03:03 +01:00
Fixed gstat crach reported by Phil Shrimpton.
This commit is contained in:
parent
14d45e552d
commit
58e25b9e8f
@ -409,9 +409,11 @@ int CLIB_ROUTINE main(int argc, char **argv)
|
||||
dba_error(1, 0, 0, 0, 0, 0); /* msg 1: found unknown switch */
|
||||
}
|
||||
else if (in_sw_tab->in_sw == IN_SW_DBA_USERNAME) {
|
||||
if (argv < end)
|
||||
strcpy((char*) username, *argv++);
|
||||
}
|
||||
else if (in_sw_tab->in_sw == IN_SW_DBA_PASSWORD) {
|
||||
if (argv < end)
|
||||
strcpy((char*) password, *argv++);
|
||||
}
|
||||
else if (in_sw_tab->in_sw == IN_SW_DBA_SYSTEM) {
|
||||
|
Loading…
Reference in New Issue
Block a user