[ 
https://issues.apache.org/jira/browse/PROTON-2746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17738180#comment-17738180
 ] 

ASF subversion and git services commented on PROTON-2746:
---------------------------------------------------------

Commit 139ed8bc216fded1426e0bcfd11b48a277de09e0 in qpid-proton's branch 
refs/heads/main from Andrew Stitcher
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=139ed8bc2 ]

PROTON-2746: Fix potential uninitialized/illegal read

Found by valgrind running a test on new code.


> 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
>
> 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to