FirebirdSQL / firebird

Firebird server, client and tools
https://firebirdsql.org
1.26k stars 217 forks source link

Gsec failed to change password if the password starts with question mark #8313

Open Prochy opened 2 weeks ago

Prochy commented 2 weeks ago

If I use command gsec -user SYSDBA -password "masterkey" -modify SYSDBA -pw "??" the command doesn't change the password but instead of it it shows help.

According a discussion in https://github.com/FirebirdSQL/firebird/discussions/8308#discussioncomment-11168871, the problem is in gsec.cpp line 839.