[ 
https://issues.apache.org/jira/browse/PROTON-2622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17624699#comment-17624699
 ] 

ASF subversion and git services commented on PROTON-2622:
---------------------------------------------------------

Commit 2e8c767a3bf2d2488a9edeac854243dcfe37068d in qpid-proton's branch 
refs/heads/main from Clifford Jansen
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=2e8c767a3 ]

PROTON-2622: tls library - ensure capacity values match given capacity


> TLS OpenSSL library: ensure capacity values match given capacity
> ----------------------------------------------------------------
>
>                 Key: PROTON-2622
>                 URL: https://issues.apache.org/jira/browse/PROTON-2622
>             Project: Qpid Proton
>          Issue Type: Wish
>          Components: proton-c
>    Affects Versions: proton-c-0.38.0
>            Reporter: Ken Giusti
>            Assignee: Clifford Jansen
>            Priority: Major
>
>  pn_tls_get_encrypt/decrypt_input_buffer_capacity() unconditionally return 
> the number of empty buffer slots.
> However pn_tls_give_encrypt/decrypt_input_buffers() checks the state of the 
> tls session and can take zero buffers even though get capacity returned > 0.
> In this case the application will have to "unwind" any buffer 
> allocation/setup work it did expecting there was capacity available.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to