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 15:30:00 UTC

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

Andrew Stitcher created PROTON-2746:
---------------------------------------

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


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