Segfault when using expression index with complex expression
------------------------------------------------------------
Key: CORE-6015
URL: http://tracker.firebirdsql.org/browse/CORE-6015
Project: Firebird Core
Issue Type: Bug
Affects Versions: 4.0 Beta 1, 3.0.4, 3.0.3, 2.5.8, 4.0 Alpha 1, 3.0.2,
2.5.7, 3.0.1, 2.5.6, 3.0.0, 4.0 Initial, 2.5.5, 2.5.4, 2.5.3 Update 1, 2.1.7,
2.5.3, 2.5.2 Update 1, 2.5.2, 2.5.1, 2.5.0
Reporter: Alexander Peshkov
Nothing limits use of rather complex expression in the index. One can use
selectable stored procedure to calculate that expression, and in that stored
procedure one can select rows from the table on which expression index is
created. During garbage collection of such index key value is calculated which
causes expression evaluation, execution of SP and tabke scan - which in turn
causes GC. I.e. we have unlimited recursion with obvious stack overflow and
segfault.
--
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
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel