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

literal: fix bug in TBM #438

Merged
merged 1 commit into from
Dec 31, 2017
Merged

literal: fix bug in TBM #438

merged 1 commit into from
Dec 31, 2017

Conversation

BurntSushi
Copy link
Member

The TBM implementation tripped an assertion in debug mode if its
haystack was smaller than its query. This is incorrect. The correct
behavior is for TBM to report that no match can be found.

Fixes #437

The TBM implementation tripped an assertion in debug mode if its
haystack was smaller than its query. This is incorrect. The correct
behavior is for TBM to report that no match can be found.

Fixes #437
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.

None yet

1 participant