[Libreoffice-bugs] [Bug 119431] External database jdbc hsqldb, Crash in the case of SELECT, SQL query, access to the database
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Aug 24 12:58:02 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=119431
--- Comment #9 from Krzysztof <christo123 at poczta.onet.pl> ---
(In reply to Alex Thurgood from comment #8)
> Your crash trace however, shows unhandled debug exceptions being thrown in
> dbtools2.cxx, at lines 827 and 828, in a block of code which, if I've
> understood it correctly, attempts to obtain column information about the
> fields of your database.
Exactly. This SQL query limits access to the Test2 table (has 4 columns) for
the normal_user role:
GRANT SELECT (ID, "name"), UPDATE (ID, "name"), INSERT (ID, "name") ON TABLE
"Test2" TO "normal_user";
When attempting any access, it causes a crash Libreoffice. There should be an
exception. Even if I use the SQL query allowed:
SELECT "ID", "name" FROM "Test2"
there is a crash Libreoffice.
--
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/20180824/b126aba2/attachment.html>
More information about the Libreoffice-bugs
mailing list