[
https://issues.apache.org/jira/browse/PROTON-2950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18116226#comment-18116226
]
ASF subversion and git services commented on PROTON-2950:
---------------------------------------------------------
Commit 75ad2aa0225c7db64400f4eaaf213e2458143ea7 in qpid-proton's branch
refs/heads/main from Andrew Stitcher
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=75ad2aa02 ]
PROTON-2950: Make pn_buffer/pn_string allocations more robust
> 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]