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. 3 new defect(s) introduced to freerangerouting/frr found with Coverity Scan. New defect(s) Reported-by: Coverity Scan Showing 3 of 3 defect(s) ** CID 1462351: Program hangs (LOCK) /bgpd/bgp_io.c: 348 in bgp_process_reads() ________________________________________________________________________________________________________ *** CID 1462351: Program hangs (LOCK) /bgpd/bgp_io.c: 348 in bgp_process_reads() 342 &peer->t_read); 343 if (added_pkt) 344 thread_add_timer_msec(bm->master, bgp_process_packet, 345 peer, 0, &peer->t_process_packet); 346 } 347
CID 1462351: Program hangs (LOCK) Returning without unlocking "peer->io_mtx".
348 return 0; 349 } 350 351 /** 352 * Flush peer output buffer. 353 *
** CID 1462350: Program hangs (LOCK) /bgpd/bgp_packet.c: 2286 in bgp_process_packet() ________________________________________________________________________________________________________ *** CID 1462350: Program hangs (LOCK) /bgpd/bgp_packet.c: 2286 in bgp_process_packet() 2280 bm->master, bgp_process_packet, peer, 0, 2281 &peer->t_process_packet); 2282 } 2283 pthread_mutex_unlock(&peer->io_mtx); 2284 } 2285
CID 1462350: Program hangs (LOCK) Returning without unlocking "peer->io_mtx".
2286 return 0;
** CID 1462349: Program hangs (LOCK) /bgpd/bgp_packet.c: 560 in bgp_write_notify() ________________________________________________________________________________________________________ *** CID 1462349: Program hangs (LOCK) /bgpd/bgp_packet.c: 560 in bgp_write_notify() 554 555 pthread_mutex_lock(&peer->io_mtx); 556 { 557 /* There should be at least one packet. */ 558 s = stream_fifo_pop(peer->obuf); 559 if (!s)
CID 1462349: Program hangs (LOCK) Returning without unlocking "peer->io_mtx".
560 return 0; 561 assert(stream_get_endp(s) >= BGP_HEADER_SIZE); 562 } 563 pthread_mutex_unlock(&peer->io_mtx); 564 565 /* Stop collecting data within the socket */
________________________________________________________________________________________________________ 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