jdanekrh opened a new pull request #176: NO-JIRA: [c] Fix Coverity warning of buffer overrun in pn_proactor_addr URL: https://github.com/apache/qpid-proton/pull/176 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 */
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
