Command 'REVOKE ALL ON ALL FROM <anyname>' lead server to crash
---------------------------------------------------------------

                 Key: CORE-5858
                 URL: http://tracker.firebirdsql.org/browse/CORE-5858
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine, Security
    Affects Versions: 4.0 Alpha 1
            Reporter: Pavel Zotov


Adjust path and name of database in following script.
Then run it:
===
    shell del C:\FBTESTING\qa\fbt-repo\tmp\c5593.fdb 2>nul;

    set wng off;
    set list on;
    set echo on;
    set bail on;

    set names utf8;
    create database 'localhost:C:\FBTESTING\qa\fbt-repo\tmp\c5593.fdb';

    revoke all on all from any_name_here;
    commit;
    quit;
===

Output will be (as reply on 'revoke all on all from any_name_here;'):
===
Statement failed, SQLSTATE = 08006
Error reading data from the connection.
After line 9 in file c5593a.sql
Statement failed, SQLSTATE = 08006
Error writing data to the connection.
-send_packet/send
===
It seems that only 4.x if affected, no such error on 3.0.4.32997.

Link to folder where FB distr + dumps + stack traces can be found:

https://drive.google.com/drive/folders/1sqgNBuR78J97Q3kAy4-2SCp5alxnuTa_



-- 
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