[Webkit-unassigned] [Bug 238797] [GTK][WPE] RemoteInspector add support for IPv6

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 7 03:14:10 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=238797

--- Comment #12 from Carlos Garcia Campos <cgarcia at igalia.com> ---
(In reply to Michael Catanzaro from comment #11)
> (In reply to Michael Catanzaro from comment #10)
> > You're saying (portPtr - 2) is the '\0', but it looks like that's actually (portPtr - 1).
> 
> Sorry, I misread your comment. OK, we agree that (portPtr - 2) is one
> position before the '\0' that was originally ':'. Problem is, if the input
> string is bogus and nothing is before the ':', then that is out of bounds.

In that case we don't reach portPtr - 2 because we first check that addressPtr[0] == '[' and it's ':' in that case.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220407/6ac43634/attachment.htm>


More information about the webkit-unassigned mailing list