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. 11 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 1492648: Memory - corruptions (REVERSE_NEGATIVE) /lib/zlog.c: 243 in zlog_tls_buffer_init() ________________________________________________________________________________________________________ *** CID 1492648: Memory - corruptions (REVERSE_NEGATIVE) /lib/zlog.c: 243 in zlog_tls_buffer_init() 237 snprintfrr(mmpath, sizeof(mmpath), "logbuf.%ld", zlog_gettid()); 238 239 mmfd = openat(zlog_tmpdirfd, mmpath, 240 O_RDWR | O_CREAT | O_EXCL | O_CLOEXEC, 0600); 241 fchown(mmfd, zlog_uid, zlog_gid); 242
CID 1492648: Memory - corruptions (REVERSE_NEGATIVE) You might be using variable "mmfd" before verifying that it is >= 0.
243 if (mmfd < 0) { 244 zlog_err("failed to open thread log buffer \"%s\": %s", 245 mmpath, strerror(errno)); 246 goto out_anon; 247 } 248
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/ls/click?upn=nJaKvJSIH-2FPAfmty-2BK5tYpPklA...