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. New defect(s) Reported-by: Coverity Scan Showing 1 of 1 defect(s) ** CID 1497109: Error handling issues (CHECKED_RETURN) /lib/northbound.c: 125 in nb_node_new_cb() ________________________________________________________________________________________________________ *** CID 1497109: Error handling issues (CHECKED_RETURN) /lib/northbound.c: 125 in nb_node_new_cb() 119 nb_node->parent_list = sparent_list->priv; 120 121 /* Set flags. */ 122 if (CHECK_FLAG(snode->nodetype, LYS_CONTAINER | LYS_LIST)) { 123 bool config_only = true; 124
CID 1497109: Error handling issues (CHECKED_RETURN) Calling "yang_snodes_iterate_subtree" without checking return value (as is done elsewhere 4 out of 5 times).
125 yang_snodes_iterate_subtree(snode, NULL, 126 nb_node_check_config_only, 0, 127 &config_only); 128 if (config_only) 129 SET_FLAG(nb_node->flags, F_NB_NODE_CONFIG_ONLY); 130 }
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0...
participants (1)
-
scan-admin@coverity.com