WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
30668
WebSocket frame parse error when high order bit of frame_type is on.
https://bugs.webkit.org/show_bug.cgi?id=30668
Summary
WebSocket frame parse error when high order bit of frame_type is on.
Fumitoshi Ukai
Reported
2009-10-22 01:41:13 PDT
When high order bit of frame_type is on, it gets length and tries skipping. However, if it has short size of buffer, it failed to skip the length.
Attachments
Fix WebSocket frame parser of frame_type with high-order bit set.
(1.30 KB, patch)
2009-10-22 01:49 PDT
,
Fumitoshi Ukai
no flags
Details
Formatted Diff
Diff
Fix WebSocket frame parser of frame_type with high-order bit set.
(8.36 KB, patch)
2009-11-04 01:53 PST
,
Fumitoshi Ukai
no flags
Details
Formatted Diff
Diff
Fix WebSocket frame parser of frame_type with high-order bit set.
(8.75 KB, patch)
2009-11-11 02:07 PST
,
Fumitoshi Ukai
ap
: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Fumitoshi Ukai
Comment 1
2009-10-22 01:49:54 PDT
Created
attachment 41647
[details]
Fix WebSocket frame parser of frame_type with high-order bit set.
Eric Seidel (no email)
Comment 2
2009-10-22 10:43:39 PDT
Comment on
attachment 41647
[details]
Fix WebSocket frame parser of frame_type with high-order bit set. Why can't we land tests now and just skip them? It's difficult for me to tell what this is doing juts from reading the code.
David Levin
Comment 3
2009-10-30 12:12:05 PDT
Comment on
attachment 41647
[details]
Fix WebSocket frame parser of frame_type with high-order bit set. r- per Eric's comment. Needs a layout test even if it is disabled.
Fumitoshi Ukai
Comment 4
2009-11-04 01:53:10 PST
Created
attachment 42466
[details]
Fix WebSocket frame parser of frame_type with high-order bit set.
David Levin
Comment 5
2009-11-11 01:20:02 PST
Comment on
attachment 42466
[details]
Fix WebSocket frame parser of frame_type with high-order bit set. I haven't reviewed it completely -- at first glance it looks good. Unfortunately, I'm fairly certain this patch needs to be updated since Yuzo changed some of the same files in a similar manner, so this patch has conflicts now. r- for that.
Fumitoshi Ukai
Comment 6
2009-11-11 02:07:41 PST
Created
attachment 42941
[details]
Fix WebSocket frame parser of frame_type with high-order bit set.
Alexey Proskuryakov
Comment 7
2009-11-11 18:57:50 PST
Comment on
attachment 42941
[details]
Fix WebSocket frame parser of frame_type with high-order bit set. + (): Please remove such artifacts from ChangeLogs. +setTimeout("finish()", 2000); My understanding is that this will not happen in normal case - is that correct? r=me
Fumitoshi Ukai
Comment 8
2009-11-11 20:18:46 PST
Committed
r50862
: <
http://trac.webkit.org/changeset/50862
>
Fumitoshi Ukai
Comment 9
2009-11-11 20:26:11 PST
(In reply to
comment #7
)
> (From update of
attachment 42941
[details]
) > + (): > > Please remove such artifacts from ChangeLogs. > > +setTimeout("finish()", 2000); > > My understanding is that this will not happen in normal case - is that correct?
Yes. In normal case, onclose() will be called soon and finish the test.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug