Clifford Jansen created PROTON-2535:
---------------------------------------
Summary: TLS library - false indication of user data in OpenSSL
Key: PROTON-2535
URL: https://issues.apache.org/jira/browse/PROTON-2535
Project: Qpid Proton
Issue Type: Bug
Components: proton-c
Affects Versions: proton-c-0.37.0
Environment: OpenSSL
Reporter: Clifford Jansen
Assignee: Clifford Jansen
pn_tls_need_decrypt_output_buffers can falsely indicate the availability of
user data. For example if there is a handshake failure, BIO_pending can
indicate the presence of bytes but BIO_read will return -1 and the appropriate
error.
An application may be fooled into providing a decrypt output buffer that won't
be immediately be returned after the next pn_tls_process() step, since no bytes
will be read into it.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]