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

Halt string_split tokenization if there are no more tokens #70

Merged
merged 1 commit into from
Mar 2, 2017

Conversation

mgarciaisaia
Copy link
Member

Parece que #56 en realidad venía porque string_split pincha cuando el texto termina con el token.

Quizá habría que hacer algún spec más sobre ese caso en particular.

CC: @gastonprieto

If strtok says there are no more tokens, we should stop tokenizing
as it will crash otherwise.

Fixes #56
@gastonprieto gastonprieto merged commit 7b34318 into master Mar 2, 2017
@gastonprieto gastonprieto deleted the 56-config-segfault-double-newline branch March 2, 2017 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants