[ 
https://issues.apache.org/jira/browse/PROTON-2252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiri Daněk resolved PROTON-2252.
--------------------------------
    Fix Version/s: proton-c-0.32.0
       Resolution: Fixed

> 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
>             Fix For: proton-c-0.32.0
>
>
> {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]

Reply via email to