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

Bad subnet masks should not manifest as internal errors #208

Open
vpax opened this Issue Nov 10, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@vpax
Copy link
Contributor

vpax commented Nov 10, 2018

An statement like print 1.2.3.4/33; errors out with internal error in <stdin>, line 1: Bad IPAddr(v4) IPPrefix length : 33. This is both excessive and makes it hard to pinpoint what lead to the problem. It should instead generate a regular run-time error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment