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 2013/05/21 09:22:32 UTC

[Bug 54997] New: SSL Handshake implementation in AsycnChannelWrapperSecure does not handle SSLEngineResult.Status.BUFFER_UNDERFLOW and SSLEngineResult.Status.BUFFER_OVERFLOW states

https://issues.apache.org/bugzilla/show_bug.cgi?id=54997

            Bug ID: 54997
           Summary: SSL Handshake implementation in
                    AsycnChannelWrapperSecure does not handle
                    SSLEngineResult.Status.BUFFER_UNDERFLOW and
                    SSLEngineResult.Status.BUFFER_OVERFLOW states
           Product: Tomcat 8
           Version: trunk
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: nickytd@gmail.com
    Classification: Unclassified

When SSLEngineResult.Status.BUFFER_UNDERFLOW and
SSLEngineResult.Status.BUFFER_OVERFLOW states occur during ssl handshake the
implementation throws SSLException instead of continuing the procedure
described here
http://docs.oracle.com/javase/7/docs/api/javax/net/ssl/SSLEngine.html

-- 
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 54997] SSL Handshake implementation in AsycnChannelWrapperSecure does not handle SSLEngineResult.Status.BUFFER_UNDERFLOW and SSLEngineResult.Status.BUFFER_OVERFLOW states

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

Niki Dokovski <ni...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nickytd@gmail.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 54997] SSL Handshake implementation in AsycnChannelWrapperSecure does not handle SSLEngineResult.Status.BUFFER_UNDERFLOW and SSLEngineResult.Status.BUFFER_OVERFLOW states

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

--- Comment #3 from Niki Dokovski <ni...@gmail.com> ---
Thanks Mark, It works just fine.

-- 
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 54997] SSL Handshake implementation in AsycnChannelWrapperSecure does not handle SSLEngineResult.Status.BUFFER_UNDERFLOW and SSLEngineResult.Status.BUFFER_OVERFLOW states

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

Mark Thomas <ma...@apache.org> changed:

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

--- Comment #2 from Mark Thomas <ma...@apache.org> ---
Thanks for the report. I applied a different patch as I wanted to avoid
duplicate code as far as possible. The issue should be fixed in trunk but feel
free to re-open the issue if that is not the case.

-- 
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 54997] SSL Handshake implementation in AsycnChannelWrapperSecure does not handle SSLEngineResult.Status.BUFFER_UNDERFLOW and SSLEngineResult.Status.BUFFER_OVERFLOW states

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

--- Comment #1 from Niki Dokovski <ni...@gmail.com> ---
Created attachment 30309
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30309&action=edit
patch in AsyncChannelWrapperSecure.java

illustrating a potential improvement in handling the buffer underflow state

-- 
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 54997] SSL Handshake implementation in AsycnChannelWrapperSecure does not handle SSLEngineResult.Status.BUFFER_UNDERFLOW and SSLEngineResult.Status.BUFFER_OVERFLOW states

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

Violeta Georgieva <vi...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #30309|0                           |1
           is patch|                            |
  Attachment #30309|application/octet-stream    |text/plain
          mime type|                            |

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