New Defects reported by Coverity Scan for freerangerouting/frr

scan-admin at coverity.com scan-admin at coverity.com
Tue Oct 15 09:33:35 UTC 2024


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.


New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1600779:  Null pointer dereferences  (FORWARD_NULL)
/bgpd/bgp_bmp.c: 506 in bmp_peerstate()


________________________________________________________________________________________________________
*** CID 1600779:  Null pointer dereferences  (FORWARD_NULL)
/bgpd/bgp_bmp.c: 506 in bmp_peerstate()
500     			stream_put_in_addr(s, &peer->su_local->sin.sin_addr);
501     		}
502     
503     		/* Local Port, Remote Port */
504     		if (is_locrib)
505     			stream_putw(s, 0);
>>>     CID 1600779:  Null pointer dereferences  (FORWARD_NULL)
>>>     Dereferencing null pointer "peer->su_local".
506     		else if (peer->su_local->sa.sa_family == AF_INET6)
507     			stream_putw(s, htons(peer->su_local->sin6.sin6_port));
508     		else if (peer->su_local->sa.sa_family == AF_INET)
509     			stream_putw(s, htons(peer->su_local->sin.sin_port));
510     
511     		if (is_locrib)


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu4jkWudbux5UNqYsSt9ZXO3s9m3KMDrlSX-2Bp41IzjejfmdC2hinnLY-2BZ6PvlTenLZs-3D6H6U_t0zeZlCsA34Fiw17aIfmh-2F3kFs1q7rysihvAefHXY7-2BPdjLkLJGBUFqZ8-2Bnak4u59yx2jI9SFdtrSq-2FTxc7lXL4O8TshtR-2BMEZ5vCc36eIv1jR7TQAhdF3wEEzhPbVLElJKjOTURb1w5LU-2BzP3qZ2bkX17uMykMp6hy9EGS94LFqnpd4eWCewOVN4oCho-2BPu4bolMvtwCjd3nc8ecyLn5g-3D-3D




More information about the dev mailing list