[Webkit-unassigned] [Bug 51253] WebSockets: unbounded buffer growth when server sends bad data

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 5 11:08:34 PST 2011


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





--- Comment #4 from Joe Mason <jmason at rim.com>  2011-01-05 11:08:33 PST ---
(In reply to comment #3)
> (From update of attachment 76879 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=76879&action=review
> 
> This is a violation of WebSockets-76 spec - the spec doesn't require the response to start with "HTTP/", see <http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol-76#section-4.1> step 28.

I guess that's what making reasonable assumptions gets you...

What's a good max length?  The server response doesn't contain a URL so we don't have to worry about long addresses.  My first thought is to just use 1024 chars.

-- 
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