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
Alexander Peshkov made changes - 15/Aug/18 01:06 PM
Field Original Value New Value
Assignee Alexander Peshkov [ alexpeshkoff ]
Alexander Peshkov made changes - 15/Aug/18 01:25 PM
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 4.0 Beta 1 [ 10750 ]
Fix Version/s 3.0.4 [ 10863 ]
Resolution Fixed [ 1 ]
Alexander Peshkov made changes - 16/Aug/18 08:22 AM
Environment linux