]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_evpn_mh.c
bgpd: correctly store allocated ES struct
authorPat Ruddy <pat@voltanet.io>
Wed, 25 Nov 2020 10:18:45 +0000 (10:18 +0000)
committerPat Ruddy <pat@voltanet.io>
Wed, 25 Nov 2020 18:23:13 +0000 (18:23 +0000)
commitf61fbf216b9e74fce660424d52270e5502bc3a1b
tree5a28b3f204b7db03e445db9af334518efa1e7e3e
parentad88608a369f5f9e23d5ddfdadfa33f6c0e5a2d0
bgpd: correctly store allocated ES struct

in the rare situation where we allocate the ES during the path link
we fail to check/store the allocated ES pointer thus leading to a
NULL dereference later in the function.

Signed-off-by: Pat Ruddy <pat@voltanet.io>
bgpd/bgp_evpn_mh.c