diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-08-18 13:54:03 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-08-18 13:54:03 -0400 |
| commit | 121067e9c598f44f62bf9e11774fd100ca5ce8a9 (patch) | |
| tree | 80381f751b23c5487795fdf2aa5b30c8ad04f7ef /python/makevars.py | |
| parent | f088c4e77db8d31d9d1c5f8f027acc84cde0b28d (diff) | |
bgpd: Prevent crash when displaying json of a vrf all command
When iterating over a `show ip bgp vrf all neighbors json` command
bgp is crashing.
The json variable was being double freed. When freeing it, set it
to NULL and then check to make sure it exists before we free.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'python/makevars.py')
0 files changed, 0 insertions, 0 deletions
