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

[1.5] Fix panic in readTombstoneV4 #9924

Merged
merged 1 commit into from
May 30, 2018
Merged

[1.5] Fix panic in readTombstoneV4 #9924

merged 1 commit into from
May 30, 2018

Conversation

benbjohnson
Copy link
Contributor

@benbjohnson benbjohnson commented May 30, 2018

Backport #9687. Fixes #9731.

The length check was backwards so if a series key was longer than
4096 bytes, it would cause a slice out of bounds panic.
@benbjohnson benbjohnson added this to the 1.5.4 milestone May 30, 2018
@benbjohnson benbjohnson self-assigned this May 30, 2018
@benbjohnson benbjohnson requested a review from e-dard May 30, 2018 18:06
@ghost ghost added the review label May 30, 2018
Copy link
Contributor

@e-dard e-dard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@benbjohnson benbjohnson merged commit 8601730 into 1.5 May 30, 2018
@ghost ghost removed the review label May 30, 2018
@benbjohnson benbjohnson deleted the bj-tombstone-panic-1.5 branch May 30, 2018 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants