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

trie/bug fixes and finally adds some simple fuzzing logics #383

Merged
merged 2 commits into from Oct 25, 2020

Conversation

bom-d-van
Copy link
Member

  • trie: support non-ascii text in metric names and queries [BUG] find failed, can't expand globs #379
    This would come with a slightly higher memory overhead for parsing queries.

  • trie: add some simple fuzzing codes and a few bug fixes revealed by fuzzing!
    Fuzzing is nice, uncovered a few more bugs in querying and indexing, some of them is
    kinda pleasant/revealing to solve. Bellow a simple summaries:

    • fix endless loop caused by bad query range [0xff-0xff] (a very nice one!)
    • fix panics caused by evil filename like "..wsp" (less likely to run into on production)
    • fix max depth logic handling for tree traversal
    • do not count .wsp in depth
    • some other more panic fixes

This would come with a slightly higher memory overhead for parsing queries.
…uzzing!

Fuzzing is nice, uncovered a few more bugs in querying and indexing, some of them is
kinda pleasant/revealing to solve. Bellow a simple summaries:

* fix endless loop caused by bad query range [0xff-0xff] (a very nice one!)
* fix panics caused by evil filename like "..wsp" (less likely to run into on production)
* fix max depth logic handling for tree traversal
* do not count .wsp in depth
* some other more panic fixes
@deniszh deniszh merged commit a8d22cb into master Oct 25, 2020
@bom-d-van bom-d-van deleted the trie/bug-fixes branch October 25, 2020 18:46
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

2 participants