New Defects reported by Coverity Scan for freerangerouting/frr

scan-admin at coverity.com scan-admin at coverity.com
Wed Feb 28 00:22:20 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 1583901:  Null pointer dereferences  (FORWARD_NULL)
/bgpd/bgp_nht.c: 1071 in make_prefix()


________________________________________________________________________________________________________
*** CID 1583901:  Null pointer dereferences  (FORWARD_NULL)
/bgpd/bgp_nht.c: 1071 in make_prefix()
1065     			p->u.prefix6 = p_orig->u.prefix6;
1066     			p->prefixlen = p_orig->prefixlen;
1067     		} else {
1068     			/* If we receive MP_REACH nexthop with ::(LL)
1069     			 * or LL(LL), use LL address as nexthop cache.
1070     			 */
>>>     CID 1583901:  Null pointer dereferences  (FORWARD_NULL)
>>>     Dereferencing null pointer "pi->attr".
1071     			if (pi->attr->mp_nexthop_len
1072     				    == BGP_ATTR_NHLEN_IPV6_GLOBAL_AND_LL
1073     			    && (IN6_IS_ADDR_UNSPECIFIED(
1074     					&pi->attr->mp_nexthop_global)
1075     				|| IN6_IS_ADDR_LINKLOCAL(
1076     					&pi->attr->mp_nexthop_global)))


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu4jkWudbux5UNqYsSt9ZXO3s9m3KMDrlSX-2Bp41IzjejfmdC2hinnLY-2BZ6PvlTenLZs-3DoIs1_t0zeZlCsA34Fiw17aIfmh-2F3kFs1q7rysihvAefHXY7-2BnjtBg9eqkYvZDGQxkUYkwgumkCQCkK6KSKmyeQObxJmWBY-2BMIAac3RRIoUKy0ieVwUy-2BqWje-2FIziF4lwF-2FQj1FLhGQCItvLJ-2FR9-2F7R0Lo-2Fmss7CvDlGDpSb-2BiXscAkNpxr4pUQBrtiBF3hqoY0eWRcP7QBkBNrKaI848LxorHVQ-3D-3D




More information about the dev mailing list