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

Bug fix in MySQL wire protocol #6212

Merged
merged 1 commit into from Jul 31, 2019

Conversation

yurriy
Copy link
Contributor

@yurriy yurriy commented Jul 29, 2019

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Category (leave one):

  • Bug Fix

Short description (up to few sentences):
Fixed heap buffer overflow in PacketPayloadWriteBuffer. An error occured due to setting working_buffer to empty. Because of it next does not call nextImpl and write becomes an infinite loop without side effects, which apparently causes pos to be incremented beyond the buffer.

@alexey-milovidov alexey-milovidov merged commit 834bd5d into ClickHouse:master Jul 31, 2019
@alexey-milovidov alexey-milovidov added pr-bugfix Pull request with bugfix, not backported by default v19.10 and removed v19.10 labels Jul 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-bugfix Pull request with bugfix, not backported by default
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants