You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrew Stitcher (Jira)" <ji...@apache.org> on 2023/06/28 19:36:00 UTC

[jira] [Resolved] (PROTON-2746) pn_value_dump can access uninitialised memory

     [ https://issues.apache.org/jira/browse/PROTON-2746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Stitcher resolved PROTON-2746.
-------------------------------------
    Fix Version/s: proton-c-0.40.0
       Resolution: Fixed

> pn_value_dump can access uninitialised memory
> ---------------------------------------------
>
>                 Key: PROTON-2746
>                 URL: https://issues.apache.org/jira/browse/PROTON-2746
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>            Reporter: Andrew Stitcher
>            Priority: Major
>             Fix For: proton-c-0.40.0
>
>
> It's a pretty small edge case but if the size of a symbol is 0 then we will currently try to read the first character anyway. If the symbol is at the very end of the bytes being decoded then the byte read is not part of the bytes being decoded.



--
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