[Libreoffice-bugs] [Bug 124773] New: VIEWING: External database jdbc hsqldb, Crash in the case of SELECT, SQL query, access to the database. Crash in: sal3.dll
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 16 13:37:36 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=124773
Bug ID: 124773
Summary: VIEWING: External database jdbc hsqldb, Crash in the
case of SELECT, SQL query, access to the database.
Crash in: sal3.dll
Product: LibreOffice
Version: 6.2.2.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Base
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: christo123 at poczta.onet.pl
This bug was filed from the crash reporting server and is
br-67822be4-36b6-4971-9387-6f7e8995f3db.
=========================================
I'm creating a new, clean external database (HSQLDB version 2.4.1).
Connecting database JDBC:
URL Jdbc: hsqldb:hsql://localhost/xGR
Class Driver: org.hsqldb.jdbcDriver
Login SA.
I enter SQL queries:
CREATE ROLE "normal_user";
CREATE USER "U1" PASSWORD "12345";
CREATE CACHED TABLE "Test2" ("ID" INTEGER GENERATED BY DEFAULT AS IDENTITY
(START WITH 0) NOT NULL PRIMARY KEY, "name" VARCHAR (100) NOT NULL,
"addDateTime" TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL, "updateDateTime"
TIMESTAMP NULL);
CREATE TRIGGER PUBLIC. "Test2_TRG" BEFORE UPDATE ON PUBLIC. "Test2" REFERENCING
OLD ROW AS OLDROW NEW ROW AS NEWROW FOR EACH ROW SET NEWROW. "updateDateTime" =
CURRENT_TIMESTAMP;
GRANT SELECT (ID, "name"), UPDATE (ID, "name"), INSERT (ID, "name") ON TABLE
"Test2" TO "normal_user";
GRANT "normal_user" TO "U1";
The commands were completed successfully.
We login in as U1, open the "Test2" table. Total crash Libreoffice.
Normal operation should give an exception.
"user lacks privilege or object not found: Test2 in statement [SELECT * FROM
"Test2"] "
Greetings
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190416/066bc963/attachment.html>
More information about the Libreoffice-bugs
mailing list