diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2018-10-19 15:53:55 -0300 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2018-10-20 12:39:05 -0300 |
| commit | fbcdff8229519bce83f34ea327f6000d21c24d61 (patch) | |
| tree | 478fe47a3ec9715fd9579f07c119c28906ae8670 /tests/lib/cli/test_cli.py | |
| parent | 2ba315c80192db294786d244d7a31a7f680f0fc4 (diff) | |
bgpd: handle NULL pointers in lcommunity_cmp()
Like community_cmp() and ecommunity_cmp(), the lcommunity_cmp() function
also needs to handle NULL pointers for correct operation.
Without this fix, bgpd can crash when entering the following commands:
vtysh -c "configure terminal" -c "ip large-community-list standard WORD deny"
vtysh -c "configure terminal" -c "no ip large-community-list expanded WORD"
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'tests/lib/cli/test_cli.py')
0 files changed, 0 insertions, 0 deletions
