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/08/11 07:15:00 UTC
[jira] [Commented] (PROTON-2950) IF 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=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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org