Server crashes instead of reporting the error "key size exceeds implementation 
restriction"
-------------------------------------------------------------------------------------------

                 Key: CORE-4127
                 URL: http://tracker.firebirdsql.org/browse/CORE-4127
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 2.5.2 Update 1, 2.1.5 Update 1, 2.5.2, 2.1.5, 2.0.7, 
2.5.1, 2.1.4, 2.5.0, 2.0.6, 3.0 Initial, 2.1.3, 2.1.2, 2.0.5, 2.1.1, 2.1.0
            Reporter: Dmitry Yemanov


The local buffer of MAX_KEY (4096) bytes overflows thus corrupting the stack 
and causing the engine to crash. Only compound indices are affected.

Test case:

recreate table tab1 (col1 int, col2 char(10));
create index itab1 on tab1 (col1, col2);

select * from tab1 where col1 = 1 and col2 = lpad('a', 5000)


-- 
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

        

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to