New Defects reported by Coverity Scan for freerangerouting/frr

scan-admin at coverity.com scan-admin at coverity.com
Wed Apr 6 09:16:14 UTC 2022


Hi,

Please find the latest report on new defect(s) introduced to freerangerouting/frr found with Coverity Scan.

2 new defect(s) introduced to freerangerouting/frr found with Coverity Scan.
2 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 2 of 2 defect(s)


** CID 1515741:  Null pointer dereferences  (NULL_RETURNS)
/pimd/pim6_cmd.c: 636 in mld_group_watermark_magic()


________________________________________________________________________________________________________
*** CID 1515741:  Null pointer dereferences  (NULL_RETURNS)
/pimd/pim6_cmd.c: 636 in mld_group_watermark_magic()
630            "ipv6 mld watermark-warn (1-65535)$limit",
631            IPV6_STR
632            MLD_STR
633            "Configure group limit for watermark warning\n"
634            "Group count to generate watermark warning\n")
635     {
>>>     CID 1515741:  Null pointer dereferences  (NULL_RETURNS)
>>>     Dereferencing "pim", which is known to be "NULL".
636     	PIM_DECLVAR_CONTEXT(vrf, pim);
637     	/* TBD Depends on MLD data structure changes */
638     	return CMD_SUCCESS;
639     }
640     
641     DEFPY (no_mld_group_watermark,

** CID 1515740:  Null pointer dereferences  (NULL_RETURNS)
/pimd/pim6_cmd.c: 650 in no_mld_group_watermark_magic()


________________________________________________________________________________________________________
*** CID 1515740:  Null pointer dereferences  (NULL_RETURNS)
/pimd/pim6_cmd.c: 650 in no_mld_group_watermark_magic()
644            NO_STR
645            IPV6_STR
646            MLD_STR
647            "Unconfigure group limit for watermark warning\n"
648            IGNORED_IN_NO_STR)
649     {
>>>     CID 1515740:  Null pointer dereferences  (NULL_RETURNS)
>>>     Dereferencing "pim", which is known to be "NULL".
650     	PIM_DECLVAR_CONTEXT(vrf, pim);
651     	/* TBD Depends on MLD data structure changes */
652     	return CMD_SUCCESS;
653     }
654     
655     DEFPY (interface_ipv6_mld_query_max_response_time,


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yrtN2DGUU98GYhjd55wXsXtw53zRK70R0agdV-2Fb7c45-2BkxBoZjryQtr5SpUD80NNfE-3DFZtg_O0IDF7c8sUs2B6kWTeWwAJZqriD5fgsfL8PAN30oQTy2hkhiPoTeumf09fQ93qpXmZrd630ZGj8yAQEDoKNAZRPsq0H87mC-2FqmftEdYZPK6xVKuESUMhpjz08yCG9pFHqoXc7g8QL3C8NPSpzpOZEjm8F9rIXTvCdwUX7PlR6Mcabdxn1xlpzTfYIMZ0251CKrM-2F085zbP-2FSFWKkwRjEsQ-3D-3D




More information about the dev mailing list