[
https://issues.apache.org/jira/browse/DISPATCH-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16967841#comment-16967841
]
ASF GitHub Bot commented on DISPATCH-1468:
------------------------------------------
kgiusti commented on pull request #610: DISPATCH-1468: use string constants
instead of buffered strings
URL: https://github.com/apache/qpid-dispatch/pull/610
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> 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]