]> git.proxmox.com Git - mirror_frr.git/commit - lib/keychain.c
ripd: null check key
authorlyq140 <34637052+lyq140@users.noreply.github.com>
Wed, 1 Aug 2018 12:48:36 +0000 (20:48 +0800)
committerlyq140 <34637052+lyq140@users.noreply.github.com>
Wed, 1 Aug 2018 12:48:36 +0000 (20:48 +0800)
commitc4efb22479a17f5298baceb299975c5e198c4b53
treef0b53f5d82116d5da3548b918a53657b202b178d
parentaa0b1d3b606652894c5a0e124632fa86b83aa6b6
ripd: null check key

Fix ripd crash of null pointer.
when authenticate a rip packet,
the key pointer or the key string pointer may be null,
the code have to return then.

Signed-off-by: lyq140 <34637052+lyq140@users.noreply.github.com>
lib/keychain.c
ripd/ripd.c