Server crashes instead of reporting the error "key size exceeds implementation restriction" [CORE4127] #1493
Labels
affect-version: 2.0.5
affect-version: 2.0.6
affect-version: 2.0.7
affect-version: 2.1.0
affect-version: 2.1.1
affect-version: 2.1.2
affect-version: 2.1.3
affect-version: 2.1.4
affect-version: 2.1.5 Update 1
affect-version: 2.1.5
affect-version: 2.5.0
affect-version: 2.5.1
affect-version: 2.5.2 Update 1
affect-version: 2.5.2
affect-version: 3.0 Initial
component: engine
fix-version: 2.1.6
fix-version: 2.5.3
fix-version: 3.0 Alpha 1
priority: major
qa: done successfully
type: bug
Submitted by: @dyemanov
Is related to CORE4123
Is related to QA515
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)
Commits: f018ac4 af24e85 73a39d5 FirebirdSQL/fbt-repository@bdcba70 FirebirdSQL/fbt-repository@3ecd921 FirebirdSQL/fbt-repository@03c41db
The text was updated successfully, but these errors were encountered: