Issue Details (XML | Word | Printable)

Key: CORE-5280
Type: Bug Bug
Status: Open Open
Priority: Critical Critical
Assignee: Unassigned
Reporter: Олег Короткий
Votes: 1
Watchers: 3
Operations

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

Grant field rights + grant select to package = internal Firebird consistency check (bad ACL (293), file: grant.cpp line: 2431)

Created: 14/Jun/16 06:02 AM   Updated: 14/Jun/16 06:05 AM
Component/s: Engine
Affects Version/s: 3.0.0
Fix Version/s: None

QA Status: No test


 Description  « Hide
create user test1 password '1';
create database 'd:\test.fdb' page_size 8192 user SYSDBA password 'masterkey';
connect d:\test.fdb user SYSDBA password masterkey;
create table test (id bigint not null primary key);

SET TERM ^ ;

CREATE PACKAGE NEW_PACKAGE
AS
begin

end^

CREATE PACKAGE BODY NEW_PACKAGE
AS
begin

end^

SET TERM ; ^

GRANT EXECUTE ON PACKAGE NEW_PACKAGE TO SYSDBA;
GRANT SELECT ON test TO PACKAGE new_package;

GRANT UPDATE (id) ON test TO TEST1;
-----------------------------------------------------------
C:\Program Files\Firebird\Firebird_3_0>isql -input "d:\1.txt"
Use CONNECT or CREATE DATABASE to specify a database
Rolling back work.
Statement failed, SQLSTATE = XX000
internal Firebird consistency check (bad ACL (293), file: grant.cpp line: 2431)
After line 25 in file d:\1.txt
Statement failed, SQLSTATE = XX000
internal Firebird consistency check (can't continue after bugcheck)
After line 27 in file d:\1.txt
Statement failed, SQLSTATE = XX000
internal Firebird consistency check (can't continue after bugcheck)
After line 27 in file d:\1.txt

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