Issue Details (XML | Word | Printable)

Key: CORE-4127
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Dmitry Yemanov
Reporter: Dmitry Yemanov
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Firebird Core

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

Created: 20/Jun/13 05:45 AM   Updated: 25/Sep/15 12:23 PM
Component/s: Engine
Affects Version/s: 2.1.0, 2.1.1, 2.0.5, 2.1.2, 2.1.3, 3.0 Initial, 2.0.6, 2.5.0, 2.1.4, 2.5.1, 2.0.7, 2.1.5, 2.5.2, 2.1.5 Update 1, 2.5.2 Update 1
Fix Version/s: 3.0 Alpha 1, 2.1.6, 2.5.3

Issue Links:
Relate
 

QA Status: Done successfully


 Description  « Hide
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)


 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Pavel Cisar added a comment - 25/Sep/15 12:23 PM
Test created.