Skip to content

Unexpected exceptions on many inputs #7

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

Closed
flopp opened this issue Jan 14, 2020 · 2 comments · Fixed by #8
Closed

Unexpected exceptions on many inputs #7

flopp opened this issue Jan 14, 2020 · 2 comments · Fixed by #8

Comments

@flopp
Copy link

flopp commented Jan 14, 2020

I ran pythonfuzz on clevercsv's detection engine, and got many input samples resulting in unexpected exceptions, e.g. a file just containing three double-quotes results in a SystemError:

clevercsv detect doublequote-doublequote-doublequote.csv 

[SystemError]
PyEval_EvalFrameEx returned a result with an error set

I'm using clevercsv 0.5.3 from pypi with Python 3.7 running on Ubuntu 19.10.

I've attached a ZIP file containing the fuzzing script and some sample input files leading to unexpected exceptions.

clevercsv-fuzzing.zip

@GjjvdBurg
Copy link
Collaborator

Thanks for letting me know @flopp! I'll take a look

@GjjvdBurg
Copy link
Collaborator

@flopp Thanks again for letting me know about this bug! It's now fixed in master and I'll prepare a release right away.

GjjvdBurg added a commit that referenced this issue Jan 16, 2020
* Fix bugs discovered from fuzz testing ([issue #7](#7))
* Minor changes to readme and code quality
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 a pull request may close this issue.

2 participants