-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[Bug](array-type) Fix memory buffer overflow #13074
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
[Bug](array-type) Fix memory buffer overflow #13074
Conversation
|
please add a test case? |
f957842 to
e84a157
Compare
|
Add a test case. |
cambyzju
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
cbe5be2 to
f41451b
Compare
f41451b to
8dd83c0
Compare
cambyzju
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
PR approved by at least one committer and no changes requested. |
As mentioned in #13074, there will be some problem in ColumnVector<int>::insert_many_in_copy_way. Column::insert_xxx functions will append some data, they should reserve or resize before append data. Co-authored-by: cambyzju <zhuxiaoli01@baidu.com>
Proposed changes
How to reproduce?
Be will core.
This bug is caused by a memory buffer overflow.
Coredump:
Problem summary
Describe your changes.
Checklist(Required)
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...