[dev] New Defects reported by Coverity Scan for freerangerouting/frr

scan-admin at coverity.com scan-admin at coverity.com
Fri Sep 21 11:03:35 EDT 2018


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 1473285:  Null pointer dereferences  (FORWARD_NULL)
/isisd/isis_lsp.c: 1909 in lsp_tick()


________________________________________________________________________________________________________
*** CID 1473285:  Null pointer dereferences  (FORWARD_NULL)
/isisd/isis_lsp.c: 1909 in lsp_tick()
1903     					lsp = NULL;
1904     					dict_delete_free(area->lspdb[level],
1905     							 dnode);
1906     				}
1907     
1908     				if (fabricd_init_c) {
>>>     CID 1473285:  Null pointer dereferences  (FORWARD_NULL)
>>>     Dereferencing null pointer "lsp".
1909     					fabricd_sync_incomplete |=
1910     						ISIS_CHECK_FLAG(lsp->SSNflags,
1911     								fabricd_init_c);
1912     				}
1913     			}
1914     		}

** CID 1399484:  Null pointer dereferences  (NULL_RETURNS)
/tools/permutations.c: 43 in main()


________________________________________________________________________________________________________
*** CID 1399484:  Null pointer dereferences  (NULL_RETURNS)
/tools/permutations.c: 43 in main()
37     {
38     	if (argc < 2) {
39     		fprintf(stdout, USAGE "\n");
40     		exit(EXIT_SUCCESS);
41     	}
42     	struct cmd_element *cmd = calloc(1, sizeof(struct cmd_element));
>>>     CID 1399484:  Null pointer dereferences  (NULL_RETURNS)
>>>     Dereferencing a null pointer "cmd".
43     	cmd->string = strdup(argv[1]);
44     
45     	struct graph *graph = graph_new();
46     	struct cmd_token *token =
47     		cmd_token_new(START_TKN, cmd->attr, NULL, NULL);
48     	graph_new_node(graph, token, NULL);


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRa7dJ8klHLUFWVd2fqpS-2B-2FHaN43B-2FQ11ntcKmbKat2WeHs8691VOJpZofPkpp-2BRBqc-3D_d-2Fi2nRutHp-2FDWtw8JRg-2Bc1m9CS4-2B5uVbodfDyLsp-2FJnGarly0zL1UMf4SDNl1VvgT7tByofJ5Uc82j-2F4kc5-2F5s-2Frw3txN5Wj4xzOwzR-2F9uwJSTXhMsEbMnTiF-2FIhamAzgjOkIV4fRs5RQOFgZvjamdZ0brrgyBOL0NpXeMOty8EZMGmaDrBVN2ycA0R3KDac2R8JLvz-2BYfcThfFJNbxvzA-3D-3D




More information about the dev mailing list