diff options
| author | Donald Sharp <sharpd@cumulusnetwroks.com> | 2016-08-15 12:04:30 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetwroks.com> | 2016-08-15 12:52:05 -0400 |
| commit | 352534ac21dd985fa3b5c71a0276849cb7a71633 (patch) | |
| tree | 1884e13463b061683b3875ce5fc39be701204be7 /lib/imsg-buffer.c | |
| parent | 911ad1e2f9044191a1d05d384212078d6011ac35 (diff) | |
zebra: Fix usage of accidental NULL pointer
NS_DEFAULT is #defined to 0, We are passing it
in to a function that is taking 'struct zebra_ns *'
which is translating into a NULL pointer. Which
in some situations will cause a crash.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
Daniel Walton <dwalton@cumulusnetworks.com>
Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
(cherry picked from commit 1e9fa2763953adc603c3acc4ed2a46c9e72cbb29)
(cherry picked from commit e33efc8aa85ad17698bd8d42f1d32d80eb5ca4b6)
Diffstat (limited to 'lib/imsg-buffer.c')
0 files changed, 0 insertions, 0 deletions
