]> The Tcpdump Group git mirrors - tcpdump/commit
BGP: Fix a ND_TCHECK_LEN() use
authorFrancois-Xavier Le Bail <[email protected]>
Sun, 14 Jun 2020 11:54:24 +0000 (13:54 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Sun, 14 Jun 2020 16:14:06 +0000 (18:14 +0200)
commit9c965fd16f876115497ca68eefd9418a68773635
treec339ab6e56272b7579c2746ef07cf9d05a4beea6
parentc4f8796bf8bec740621a360eded236d8991ea00f
BGP: Fix a ND_TCHECK_LEN() use

The error was:
reading from file bgp-rt-prefix.pcap, link-type EN10MB (Ethernet), snapshot
length 262144
==22310==WARNING: MemorySanitizer: use-of-uninitialized-value
[...]

SUMMARY: MemorySanitizer: use-of-uninitialized-value print-bgp.c:1040:5
in decode_rt_routing_info

Moreover:
Simplify a pointer expression.
print-bgp.c