[Webkit-unassigned] [Bug 82307] [WebSocket]Browser must fail connection if Sec-WebSocket-Protocol mismatched.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 28 01:22:22 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=82307
--- Comment #9 from Kent Tamura <tkent at chromium.org> 2012-03-28 01:22:22 PST ---
(From update of attachment 134047)
View in context: https://bugs.webkit.org/attachment.cgi?id=134047&action=review
> Source/WebCore/Modules/websockets/WebSocketHandshake.cpp:728
> + m_clientProtocol.split(String(", "), result);
Using a string literal ", " looks dangerous. If we changed the protocol string generation code so that it used " , ", this check would not work.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list