Issue Details (XML | Word | Printable)

Key: CORE-5893
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: Alexander Peshkov
Votes: 0
Watchers: 1

If you were logged in you would be able to see more operations.
Firebird Core

gbak may crash database when mixing alias with full database name

Created: 15/Aug/18 01:06 PM   Updated: 16/Aug/18 08:22 AM
Component/s: GBAK
Affects Version/s: 4.0 Alpha 1, 2.5.8, 3.0.3
Fix Version/s: 3.0.4, 4.0 Beta 1

Environment: linux

QA Status: No test

 Description  « Hide
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.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.