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 a panic when dealing with remaining at the end of a delimiter #7449

Merged
merged 2 commits into from
Jun 28, 2018

Conversation

ph
Copy link
Contributor

@ph ph commented Jun 27, 2018

When the last delimiter is not greedy, and we have captured all the data
for the defined fields in the Tokenizer string, we should ignore the
remaining of the string.

@ph ph force-pushed the fix/panic-on-remaining-offset-data branch from 34542ca to bbfb4c9 Compare June 27, 2018 18:35
ph added 2 commits June 27, 2018 14:36
When the last delimiter is not greedy and we have captured all the data
for the defined fields in the Tokenizer string we should ignore the
remaining of the string.
@ph ph force-pushed the fix/panic-on-remaining-offset-data branch from bbfb4c9 to 7374391 Compare June 27, 2018 18:36
@ph ph added the needs_backport PR is waiting to be backported to other branches. label Jun 27, 2018
@ph
Copy link
Contributor Author

ph commented Jun 27, 2018

This issue was reported by @vjsamuel

@vjsamuel
Copy link
Contributor

@ph thanks for this fix. @ruflin @exekias if you could fast track this, it would be great :)

@ruflin ruflin merged commit 5eb1002 into elastic:master Jun 28, 2018
@ruflin ruflin added the bug label Jun 28, 2018
@ph ph removed the needs_backport PR is waiting to be backported to other branches. label Jun 28, 2018
@ph
Copy link
Contributor Author

ph commented Jun 28, 2018

Dissect is not in 6.3 so no need to backport it.

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

Successfully merging this pull request may close these issues.

3 participants