Re: [whatwg/url] Disallow invalid IPv4 in IPv6 parser (#196)

I think the point of failure in your algorithm can be [Integer overflow](https://en.wikipedia.org/wiki/Integer_overflow) in step "4. Set <i>piece</i> to <i>piece</i> × 0x100 + <i>value</i>" (when invalid address has many dots). In some programming languages this can cause a run-time error.

So I preffer <i>numbers seen</i> variant.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/pull/196#issuecomment-271537930

Received on Tuesday, 10 January 2017 10:19:24 UTC