diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-07-27 10:02:34 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-07-27 10:02:34 -0400 |
| commit | 239b37bb3c1d1d82423c5934c8615d4bfb392472 (patch) | |
| tree | a29998ce0c511fafb9190fe19c4790c31e25c3c8 /doc/manpages/conf.py | |
| parent | 563f0c2b2de19737e62017d318a7f5cdbbf8c210 (diff) | |
bgpd: Notice when we unlock if we should NULL pointer
The bi->net pointer that is being unlocked had a commit
that removed the `bi->net = NULL;` recently. This code
was preventing a use after free crash being experienced
in other code paths. While commit 37e679629f9 was fixing
a different code path crash.
Make the parent->net pointer aware it may be locked/freed
from multiple places and to not NULL the pointer to it
unless we have actually freed the data.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'doc/manpages/conf.py')
0 files changed, 0 insertions, 0 deletions
