Skip to content
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 may crash database when mixing alias with full database name [CORE5893] #6151

Closed
firebird-automations opened this issue Aug 15, 2018 · 3 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @AlexPeshkoff

One can crash a database by simple operation. An alias brp is created for /db/brp.fdb:
brp = /db/brp.fdb

If by mistake gbak is started with:

gbak brp /db/brp.fdb .....

it directly overwrites parts of the database file instead of giving an error. After it starts, it takes just a few seconds to make db file not usable.

Commits: f878c3b 0ca8d61

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 4.0 Beta 1 [ 10750 ]

Fix Version: 3.0.4 [ 10863 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

environment: linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment