[ https://issues.apache.org/jira/browse/PROTON-2252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17155955#comment-17155955 ]
ASF subversion and git services commented on PROTON-2252: --------------------------------------------------------- Commit f7b3a4c433475b1933c88278f5729236b0b8ff6a in qpid-proton's branch refs/heads/master from Jiri Daněk [ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=f7b3a4c ] PROTON-2252 Fix Coverity warning of buffer overrun in pn_proactor_addr (#267) > 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: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org