summaryrefslogtreecommitdiff
path: root/lib/imsg-buffer.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-03-18 21:46:58 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-03-19 09:18:10 -0400
commit993b1432259e1859dc41c73e345bc573968721c5 (patch)
tree7dc72bbcbb9395663bae808cd3442faf5b124b70 /lib/imsg-buffer.c
parent149a38a3134968cacc3dec024ef2cbbe17000174 (diff)
pimd: Fix leaked fd and prevent null pointer deref
When the pim_nexthop_lookup fails, close the opened fd as part of the failure condition. Additionally pim_nexthop_lookup assumes that we've actually already looked up a nexthop in the past. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/imsg-buffer.c')
0 files changed, 0 insertions, 0 deletions