[
https://issues.apache.org/jira/browse/DISPATCH-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16968400#comment-16968400
]
ASF subversion and git services commented on DISPATCH-1468:
-----------------------------------------------------------
Commit d240dd966ea281170168b52b6ad2f933ac32f8cf in qpid-dispatch's branch
refs/heads/master from Ken Giusti
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=d240dd9 ]
DISPATCH-1468: use string constants instead of buffered strings
This closes #610
> out-of-bounds array access in qd_entity_refresh_connector
> ---------------------------------------------------------
>
> Key: DISPATCH-1468
> URL: https://issues.apache.org/jira/browse/DISPATCH-1468
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Router Node
> Affects Versions: 1.9.0
> Reporter: Ken Giusti
> Assignee: Ken Giusti
> Priority: Major
> Fix For: 1.10.0
>
>
> Found by AddressSanitizer:
>
> /home/kgiusti/work/qpid-dispatch/src/connection_manager.c:852:5: error:
> ‘memset’ forming offset [1, 4] is out of the bounds [0, 0] of object
> ‘(\{anonymous})’ with type ‘unsi\
> gned char[0]’ [-Werror=array-bounds]
> 852 | memset(state_info, 0, sizeof(state_length));;
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /home/kgiusti/work/qpid-dispatch/src/connection_manager.c:766:12: note:
> ‘(\{anonymous})’ declared here
> 766 | qd_error_t qd_entity_refresh_connector(qd_entity_t* entity, void *impl)
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]