You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2020/06/28 07:56:19 UTC

[Bug 64563] New: Special payload length of websocket frame leads to high CPU usage

https://bz.apache.org/bugzilla/show_bug.cgi?id=64563

            Bug ID: 64563
           Summary: Special payload length of websocket frame leads to
                    high CPU usage
           Product: Tomcat 9
           Version: 9.0.21
          Hardware: PC
            Status: NEW
          Severity: major
          Priority: P2
         Component: WebSocket
          Assignee: dev@tomcat.apache.org
          Reporter: niuhailiang@huawei.com
  Target Milestone: -----

Created attachment 37336
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37336&action=edit
the debug result

If all bits(7+64) of the payload length in one websocket frame are 1,the length
will be resolved to a negative value which will cause an endless loop.The
result is CPU usage is high and will not drop!

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 64563] Special payload length of websocket frame leads to high CPU usage

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64563

niuhailiang@huawei.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |niuhailiang@huawei.com
                 OS|                            |All

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 64563] Special payload length of websocket frame leads to high CPU usage

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64563

niuhailiang@huawei.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |CLOSED

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org