gbak may crash database when mixing alias with full database name
-----------------------------------------------------------------

                 Key: CORE-5893
                 URL: http://tracker.firebirdsql.org/browse/CORE-5893
             Project: Firebird Core
          Issue Type: Bug
          Components: GBAK
    Affects Versions: 3.0.3, 2.5.8, 4.0 Alpha 1
            Reporter: Alexander Peshkov


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.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to