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. New defect(s) Reported-by: Coverity Scan Showing 2 of 2 defect(s) ** CID 1448581: Error handling issues (CHECKED_RETURN) /ospfd/ospf_vty.c: 7094 in no_ip_ospf_area() ________________________________________________________________________________________________________ *** CID 1448581: Error handling issues (CHECKED_RETURN) /ospfd/ospf_vty.c: 7094 in no_ip_ospf_area() 7088 return CMD_SUCCESS; 7089 7090 argv_find (argv, argc, "area", &idx); 7091 7092 // Check if we have an address arg and proccess it 7093 if (argc == idx + 3) {
CID 1448581: Error handling issues (CHECKED_RETURN) Calling "inet_aton" without checking return value (as is done elsewhere 78 out of 81 times).
7094 inet_aton(argv[idx+2]->arg, &addr); 7095 params = ospf_lookup_if_params (ifp, addr); 7096 if ((params) == NULL) 7097 return CMD_SUCCESS; 7098 } 7099 else
** CID 1448580: Error handling issues (CHECKED_RETURN) /ospfd/ospf_vty.c: 7034 in ip_ospf_area() ________________________________________________________________________________________________________ *** CID 1448580: Error handling issues (CHECKED_RETURN) /ospfd/ospf_vty.c: 7034 in ip_ospf_area() 7028 VTY_NEWLINE); 7029 return CMD_WARNING; 7030 } 7031 7032 // Check if we have an address arg and proccess it 7033 if (argc == idx + 3) {
CID 1448580: Error handling issues (CHECKED_RETURN) Calling "inet_aton" without checking return value (as is done elsewhere 78 out of 81 times).
7034 inet_aton(argv[idx+2]->arg, &addr); 7035 // update/create address-level params 7036 params = ospf_get_if_params ((ifp), (addr)); 7037 if (OSPF_IF_PARAM_CONFIGURED(params, if_area)) 7038 { 7039 vty_out (vty,
________________________________________________________________________________________________________ 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...