Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server crashes instead of reporting the error "key size exceeds implementation restriction" [CORE4127] #1493

Closed
firebird-automations opened this issue Jun 20, 2013 · 7 comments

Comments

@firebird-automations
Copy link
Collaborator

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

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

assignee: Dmitry Yemanov [ dimitr ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Link: This issue is related to CORE4123 [ CORE4123 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 3.0 Alpha 1 [ 10331 ]

Fix Version: 2.5.3 [ 10461 ]

Fix Version: 2.1.6 [ 10460 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue is related to QA515 [ QA515 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Resolved [ 5 ]

QA Status: Done successfully

@firebird-automations
Copy link
Collaborator Author

Commented by: @pcisar

Test created.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment