mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 00:25:01 +00:00
nhrpd: uninitialized variable (Clang scan)
This correction fixes two bugs detected by Clang scan: Bug Group: Logic error Bug Type: Assigned value is garbage or undefined File: nhrpd/vici.c Function: vici_parse_message Lines: 100, 105 Signed-off-by: F. Aragon <paco@voltanet.io>
This commit is contained in:
parent
62a9c814e1
commit
0a939f4f24
@ -287,6 +287,7 @@ static void vici_recv_sa(struct vici_conn *vici, struct zbuf *msg, int event)
|
||||
char buf[32];
|
||||
struct handle_sa_ctx ctx = {
|
||||
.event = event,
|
||||
.msgctx.nsections = 0
|
||||
};
|
||||
|
||||
vici_parse_message(vici, msg, parse_sa_message, &ctx.msgctx);
|
||||
|
Loading…
Reference in New Issue
Block a user