Skip to content

Commit

Permalink
isisd: fix uninitialized variable when searching for LSP
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Ryzhov <[email protected]>
  • Loading branch information
idryzhov committed Jun 22, 2021
1 parent a78dde0 commit 9ff7c74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isisd/isisd.c
Original file line number Diff line number Diff line change
Expand Up @@ -2172,7 +2172,7 @@ struct isis_lsp *lsp_for_arg(struct lspdb_head *head, const char *argv,
struct isis *isis)
{
char sysid[255] = {0};
uint8_t number[3];
uint8_t number[3] = {0};
const char *pos;
uint8_t lspid[ISIS_SYS_ID_LEN + 2] = {0};
struct isis_dynhn *dynhn;
Expand Down

0 comments on commit 9ff7c74

Please sign in to comment.