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 1434357: Error handling issues (CHECKED_RETURN) /bgpd/bgp_btoa.c: 241 in main() ________________________________________________________________________________________________________ *** CID 1434357: Error handling issues (CHECKED_RETURN) /bgpd/bgp_btoa.c: 241 in main() 235 break; 236 } 237 } 238 239 printf ("len: %zd\n", len); 240
CID 1434357: Error handling issues (CHECKED_RETURN) "fread(void * restrict, size_t, size_t, FILE * restrict)" returns the number of bytes read, but it is ignored.
241 fread (s->data + 12, len, 1, fp); 242 if (feof (fp)) 243 { 244 printf ("ENDOF FILE 2\n"); 245 break; 246 }
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05... To manage Coverity Scan email notifications for "frr@lists.nox.tf", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05...
participants (1)
-
scan-admin@coverity.com