[
https://issues.apache.org/jira/browse/PROTON-2950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18103594#comment-18103594
]
ASF subversion and git services commented on PROTON-2950:
---------------------------------------------------------
Commit 8654067b0b742a173632d4d51c17fcd87f737e88 in qpid-proton's branch
refs/heads/main from Andrew Stitcher
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=8654067b0 ]
PROTON-2950: Make pn_buffer_t use more resilient to allocation failure
* Also use a more efficient scheme for doubling buffer size
> IF pn_buffer can silently fail to allocate memory
> -------------------------------------------------
>
> Key: PROTON-2950
> URL: https://issues.apache.org/jira/browse/PROTON-2950
> Project: Qpid Proton
> Issue Type: Bug
> Components: proton-c
> Affects Versions: proton-c-0.40.0
> Reporter: Andrew Stitcher
> Assignee: Andrew Stitcher
> Priority: Major
> Fix For: proton-c-0.41.0
>
>
> If the pn_buffer code grows the underlying buffer it fails to check if the
> reallocation was successful and return an error if it wasn't.
> This could cause protocol corruption if the memory allocation fails.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]