You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2026/09/17 01:53:00 UTC
[jira] [Commented] (PROTON-2950) pn_buffer can silently fail to allocate memory
[ 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org