summaryrefslogtreecommitdiff
path: root/doc/code
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-10-02 10:45:30 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-10-02 11:06:06 -0400
commitb8aa37676635e4c283041acdb7de61967117a60b (patch)
tree1d1630fce9744a24e1081997e477c8f7410232cd /doc/code
parentcbaca6a144e400cb6f9f8ee9dd58fe2af1ba9bdd (diff)
zebra: Properly initialize memory for rtadv
The adata pointer was not properly being set to 0 before being used. In addition notice malloc failure and hard exit. If we have no memory on startup something terrible has gone wrong and we were going to crash shortly here anyways. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'doc/code')
0 files changed, 0 insertions, 0 deletions