Jiri Daněk created PROTON-2252:
----------------------------------

             Summary: 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.31.0, proton-c-0.27.0
            Reporter: Jiri Daněk
            Assignee: Jiri Daněk


{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

Reply via email to