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

Don't accept overly long IPv6 numbers #79

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Don't accept overly long IPv6 numbers #79

wants to merge 1 commit into from

Commits on Jun 22, 2020

  1. Don't accept overly long IPv6 numbers

    The current code stops parsing a hex number after 4 digits and then
    loops around to look for punctuation.  If none is found, it just
    starts parsing more hex digits, so it will accept invalid IPv6 such
    as `1::1234567890abcdef`
    
    My simple tweak makes it return 0 if a 5th digit is found.
    WayneD authored Jun 22, 2020
    Configuration menu
    Copy the full SHA
    4396ce4 View commit details
    Browse the repository at this point in the history