Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 7.0.1, 6.1.14
-
Component/s: Security and SSL
-
Labels:None
-
Environment:Windows
-
Number of attachments :
Description
java.lang.IllegalArgumentException
at java.nio.Buffer.limit(Unknown Source)
at org.mortbay.jetty.security.SslHttpChannelEndPoint.wrap(SslHttpChannelEndPoint.java:613)
at org.mortbay.jetty.security.SslHttpChannelEndPoint.flush(SslHttpChannelEndPoint.java:395)
at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:713)
at org.mortbay.jetty.client.HttpConnection.handle(HttpConnection.java:235)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
I see in the class SslHttpChannelEndPoint that we don't check if the size of the buffer is not negative or bigger than the buffer's capacity
version : 6.1.14
version : 6.1.22
This is why we get this error in Buffer class of NIO
The code should be adapted