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

core dump when invalid data file supplied #71

Open
chengen opened this issue Apr 24, 2014 · 2 comments
Open

core dump when invalid data file supplied #71

chengen opened this issue Apr 24, 2014 · 2 comments

Comments

@chengen
Copy link

chengen commented Apr 24, 2014

hi guys,
this problem may be not a big deal. it seems this module don't check the format of the data file. when supply with a invalid data file, it report nothing when initiate but will cause core dump when issue an ip lookup.

@kuno
Copy link
Owner

kuno commented Apr 25, 2014

@chengen

I have some kind of validation mechanism inside the code, this should not be happened.

Before loading the db file, it will always to check if the type of the db file was matched with the module itself.

@kuno
Copy link
Owner

kuno commented Apr 25, 2014

Its strange, it seems the check function think any file as type country, need further investigation.

Thanks.

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

2 participants