[
https://issues.apache.org/jira/browse/PROTON-2252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17155951#comment-17155951
]
ASF GitHub Bot commented on PROTON-2252:
----------------------------------------
jiridanek opened a new pull request #267:
URL: https://github.com/apache/qpid-proton/pull/267
----------------------------------------------------------------
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]
> Coverity warning of buffer overrun in pn_proactor_addr
> ------------------------------------------------------
>
> Key: PROTON-2252
> URL: https://issues.apache.org/jira/browse/PROTON-2252
> Project: Qpid Proton
> Issue Type: Bug
> Components: proton-c
> Affects Versions: proton-c-0.27.0, proton-c-0.31.0
> Reporter: Jiri Daněk
> Assignee: Jiri Daněk
> Priority: Major
>
> {noformat}
> Error: OVERRUN (CWE-119):
> qpid-proton-0.27.0/c/tests/proactor_test.cpp:613: overrun-buffer-arg:
> Overrunning array "sl" of 1024 bytes by passing it to a function which
> accesses it at byte offset 1024 using argument "1024UL".
> # 611|
> # 612| pn_transport_t *st = pn_connection_transport(s);
> # 613|-> pn_netaddr_str(pn_transport_local_addr(st), sl, sizeof(sl));
> # 614| CHECK_THAT(cr, Equals(sl)); /* client remote == server local */
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]