You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (Jira)" <ji...@apache.org> on 2022/11/01 09:39:00 UTC

[jira] [Updated] (PROTON-2622) TLS OpenSSL library: ensure capacity values match given capacity

     [ https://issues.apache.org/jira/browse/PROTON-2622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbie Gemmell updated PROTON-2622:
-----------------------------------
    Fix Version/s: proton-c-0.38.0

> 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
>             Fix For: proton-c-0.38.0
>
>
>  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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org