New Defects reported by Coverity Scan for freerangerouting/frr
Hi, Please find the latest report on new defect(s) introduced to freerangerouting/frr found with Coverity Scan. 1 new defect(s) introduced to freerangerouting/frr found with Coverity Scan. 5 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan. New defect(s) Reported-by: Coverity Scan Showing 1 of 1 defect(s) ** CID 1492630: Memory - corruptions (OVERRUN) ________________________________________________________________________________________________________ *** CID 1492630: Memory - corruptions (OVERRUN) /zebra/rule_netlink.c: 358 in netlink_request_rules() 352 memset(&req, 0, sizeof(req)); 353 req.n.nlmsg_type = type; 354 req.n.nlmsg_flags = NLM_F_ROOT | NLM_F_MATCH | NLM_F_REQUEST; 355 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct fib_rule_hdr)); 356 req.frh.family = family; 357
CID 1492630: Memory - corruptions (OVERRUN) Overrunning struct type nlmsghdr of 16 bytes by passing it to a function which accesses it at byte offset 27 using argument "req.n.nlmsg_len" (which evaluates to 28).
358 return netlink_request(&zns->netlink_cmd, &req.n); 359 } 360 361 /* 362 * Get to know existing PBR rules in the kernel - typically called at startup. 363 */
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/ls/click?upn=nJaKvJSIH-2FPAfmty-2BK5tYpPklA...
participants (1)
-
scan-admin@coverity.com