diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2021-06-22 17:53:26 +0300 |
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2021-06-22 17:53:26 +0300 |
| commit | 9ff7c74bdd9c88644a6313aebce004518cbac5b7 (patch) | |
| tree | 7b9b7a220fd8aef64ea7df49eb2f5d86ad1340a0 | |
| parent | a78dde0dcd9afcde4f0aa5b78e87744fd7d60cf5 (diff) | |
isisd: fix uninitialized variable when searching for LSP
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
| -rw-r--r-- | isisd/isisd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
