New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gbak with invalid parameter crashes FB [CORE5068] #5355
Comments
Commented by: Claudio Valderrama C. (robocop) Can't reproduce: gbak -c -v -se service_mgr -user_all_space d:\backup.gbk d:\bd.fdb gbak -c -v -se service_mgr -user_all_space d:\backup.gbk d:\bd.fdb -user sysdba -pass masterkey isql based.fdb -z -user sysdba -pass masterkey |
Modified by: @hvladassignee: Vlad Khorsun [ hvlad ] |
Commented by: @hvlad Bug happens only when backup\restore is made using services and when wrong switch is passed. |
Modified by: @hvladstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 2.5.6 [ 10721 ] |
Modified by: @pavel-zotovstatus: Resolved [ 5 ] => Resolved [ 5 ] QA Status: No test => Done successfully Test Details: Confirmed crash on 2.5.5.26952, but only when use 'gbak' utility (with services call). Checked on WI-V2.5.6.26962 - works OK. |
Modified by: @pavel-zotovstatus: Resolved [ 5 ] => Closed [ 6 ] |
Submitted by: @WarmBooter
Typo in gbak's command line parameter causes Firebird process to crash, ie:
gbak -c -v -se service_mgr -user_all_space d:\backup.gbk d:\bd.fdb
gbak:unknown switch "USER_ALL_SPACE"
gbak: ERROR:connection lost to database
gbak:Exiting before completion due to errors
Commits: 95d187c FirebirdSQL/fbt-repository@b2e33a2
====== Test Details ======
Confirmed crash on 2.5.5.26952, but only when use 'gbak' utility (with services call).
As of fbsvcmgr, it works correct and reports error: Unknown switch "res_user_all_space".
Output when use gbak is:
gbak:unknown switch "USER_ALL_SPACE"
gbak: ERROR:Unable to complete network request to host "localhost".
gbak: ERROR: Error reading data from the connection.
gbak:Exiting before completion due to errors
Checked on WI-V2.5.6.26962 - works OK.
No test needed for 3.0 thus only stub code present here in 'firebird_version': '3.0' section.
The text was updated successfully, but these errors were encountered: