Review Request 118519: Fix crash when accessing a query with duplicated table names

Jarosław Staniek staniek at kde.org
Thu Jun 5 20:49:49 BST 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/118519/
-----------------------------------------------------------

(Updated June 5, 2014, 7:49 p.m.)


Status
------

This change has been marked as submitted.


Review request for Calligra, Andrius da Costa Ribas, Oleg Kukharchuk, Adam Pigg, Dimitrios Tanis, Tomasz Olszak, Radosław Wicik, and Wojciech Kosowicz.


Bugs: 315852
    http://bugs.kde.org/show_bug.cgi?id=315852


Repository: calligra


Description
-------

Fix crash when accessing a query with duplicated table names

Example query that crashed: SELECT t.foo FROM t, t.
Now error message is displayed so user can fix the statement.

FIXED-IN:2.8.4


Diffs
-----

  libs/db/expression.cpp c59855e1e9e4b972352b58b2037c9187a251ed8f 

Diff: https://git.reviewboard.kde.org/r/118519/diff/


Testing
-------

No longer crashes for tested queries, we're no longer using dangerous function at() in this context


Thanks,

Jarosław Staniek

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20140605/fc5c8a29/attachment.htm>


More information about the calligra-devel mailing list