summaryrefslogtreecommitdiff
path: root/ospfd/ospf_errors.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@nvidia.com>2020-09-02 17:24:54 -0400
committerQuentin Young <qlyoung@nvidia.com>2020-09-08 11:43:40 -0400
commit589b5e4802920d260ce1804d51ce0b1e80788622 (patch)
treec7e84f9abf7e1c40dd6a208796734d4408d0e1a8 /ospfd/ospf_errors.c
parent2e5b029865137c1aa383454d3552487a2b998ee4 (diff)
lib: fix possible null dereference in zlog
In some cases one or both of the zlog targets in use here can be null, we need to check for that. Interestingly it appears we don't crash even when this is the case. Undefined behavior ftw Signed-off-by: Quentin Young <qlyoung@nvidia.com>
Diffstat (limited to 'ospfd/ospf_errors.c')
0 files changed, 0 insertions, 0 deletions