]> git.proxmox.com Git - mirror_frr.git/commit - bfdd/bfd_packet.c
bfdd: fix possible null dereference
authorIgor Ryzhov <iryzhov@nfware.com>
Thu, 5 Nov 2020 16:46:27 +0000 (19:46 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Thu, 5 Nov 2020 16:46:27 +0000 (19:46 +0300)
commit1db60b576b0c25dd72d6c6f553fac0ea3b610efc
treec785bb6c40b05e06c5a20110d2f2b5a89af62f83
parent7dcd8af02486b4447e838c0ae9ef6585736dda1e
bfdd: fix possible null dereference

bs->ifp may be null, so we should check it before dereferencing.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
bfdd/bfd_packet.c