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

Fix bug with memory allocation for string fields in complex key cache dictionary #6447

Merged
merged 2 commits into from Aug 12, 2019

Conversation

alesapin
Copy link
Member

@alesapin alesapin commented Aug 12, 2019

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

For changelog. Remove if this is non-significant change.

Category (leave one):

  • Bug Fix

Short description (up to few sentences):
Fix rare bug with wrong memory allocation/deallocation in complex key cache dictionaries with string fields which leads to infinite memory consumption (looks like memory leak). Bug reproduces when string size was a power of two starting from eight (8, 16, 32, etc).

@alesapin alesapin changed the title Fix bug with memory allocation for string fields in complex key cache… Fix bug with memory allocation for string fields in complex key cache dictionary Aug 12, 2019
@alesapin alesapin added the pr-bugfix Pull request with bugfix, not backported by default label Aug 12, 2019
@alexey-milovidov alexey-milovidov merged commit f992df8 into master Aug 12, 2019
tavplubix pushed a commit that referenced this pull request Aug 12, 2019
Fix bug with memory allocation for string fields in complex key cache dictionary
tavplubix pushed a commit that referenced this pull request Aug 12, 2019
Fix bug with memory allocation for string fields in complex key cache dictionary
@akuzm akuzm mentioned this pull request Oct 7, 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

3 participants