diff options
author | Jon Loeliger <jdl@netgate.com> | 2019-11-21 11:15:53 -0600 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2020-08-12 07:43:14 +0000 |
commit | 897c941c8d1d8120e9935614b995d6fda5c2bf14 (patch) | |
tree | 368377044bb648c95bddfe39a2c39bbbae383d3a /test/test_sparse_vec.py | |
parent | 2b9bf4f4a723d2bcedcbea096c30fe4f4fa7f2a1 (diff) |
map: Avoid null dereference in 'map show' and 'map del'
If a map domain is created without a tag name, inspecting
the map data will segfault looking for an unset name in
the so-called "domain extras" vector.
Enhance "show map domain" to show all map domains.
Type: fix
Change-Id: Ic55662b84eec58221816da270b2ef9e89c3a31c3
Signed-off-by: Jon Loeliger <jdl@netgate.com>
(cherry picked from commit 4a6d093e7ef72b06b35ffee911d35033dfde0171)
Diffstat (limited to 'test/test_sparse_vec.py')
0 files changed, 0 insertions, 0 deletions