summaryrefslogtreecommitdiff
path: root/lib/ringbuf.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-01-02 09:09:09 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-01-02 09:12:07 -0500
commit607425e5544a3f3afbb4d9b811e62433daf2c691 (patch)
tree5c3b32691712d14546dd8318fac47d3a4a1bc502 /lib/ringbuf.c
parentff99c5b2bb523560108f68f9251dcd93a1b9d7ee (diff)
zebra: Fix dest dereference
The rn can not have an rn->info pointer and as such the dest may be NULL. Don't assign the old_fib pointer if so. This is ok because we know RNODE_FOREACH... will not iterate if dest is NULL. Fixes: #1575 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/ringbuf.c')
0 files changed, 0 insertions, 0 deletions