Bug 65527

Summary: WebSocket should be closed by receiving unexpected continuation frame without any leading text or binary frames
Product: WebKit Reporter: Takashi Toyoshima <toyoshim>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, ap, tkent, webkit.review.bot, yutak
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch none

Description Takashi Toyoshima 2011-08-02 05:09:00 PDT
In current implement, WebSocket just ignores invalid continuation frames
which have no leading frame with FIN=0.

cf.) Chromium side issue report: http://code.google.com/p/chromium/issues/detail?id=91193
Comment 1 Takashi Toyoshima 2011-08-02 05:57:37 PDT
Created attachment 102641 [details]
Patch
Comment 2 Kent Tamura 2011-08-02 20:38:12 PDT
Comment on attachment 102641 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=102641&action=review

Looks ok.

> LayoutTests/ChangeLog:5
> +        WebSocket: Should be closed by receiving invalid continuation frame.
> +
> +        https://bugs.webkit.org/show_bug.cgi?id=65527

nit: We don't need a blank line between the summary line and the bug URL.

> Source/WebCore/ChangeLog:5
> +        WebSocket: Should be closed by receiving invalid continuation frame.
> +
> +        https://bugs.webkit.org/show_bug.cgi?id=65527

ditto.
Comment 3 WebKit Review Bot 2011-08-02 21:38:04 PDT
Comment on attachment 102641 [details]
Patch

Clearing flags on attachment: 102641

Committed r92260: <http://trac.webkit.org/changeset/92260>
Comment 4 WebKit Review Bot 2011-08-02 21:38:09 PDT
All reviewed patches have been landed.  Closing bug.