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

fuzz testing? #2

Open
mschoch opened this issue Mar 15, 2017 · 0 comments
Open

fuzz testing? #2

mschoch opened this issue Mar 15, 2017 · 0 comments

Comments

@mschoch
Copy link
Contributor

mschoch commented Mar 15, 2017

Seems a reasonable candidate. Two main challenges are:

a) at the build state, keys must be inserted in order, so using fuzz data as input isn't straightfoward
b) at runtime we don't do much/any bounds checking on the FST, so we surely panic on this today

Regarding challenge b, see #1 which might offer a safe-mode. In this mode we should return error and not panic.

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

No branches or pull requests

1 participant