From 9ff7c74bdd9c88644a6313aebce004518cbac5b7 Mon Sep 17 00:00:00 2001 From: Igor Ryzhov Date: Tue, 22 Jun 2021 17:53:26 +0300 Subject: [PATCH] isisd: fix uninitialized variable when searching for LSP Signed-off-by: Igor Ryzhov --- isisd/isisd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isisd/isisd.c b/isisd/isisd.c index 7f56903fc9..88ebd171dc 100644 --- a/isisd/isisd.c +++ b/isisd/isisd.c @@ -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; -- 2.39.5