]> The Tcpdump Group git mirrors - tcpdump/commit
DECNET: Fix segmentation fault
authorFrancois-Xavier Le Bail <[email protected]>
Mon, 16 Feb 2015 19:41:55 +0000 (20:41 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Mon, 16 Feb 2015 19:42:46 +0000 (20:42 +0100)
commite31a39e939b0263c4af7528ba870102d8a1d24be
tree03cf34ea0ce4f5bac629bde22a1493a1c24c6d6c
parentc3f115fc2b125cca567e7f13d599f161100c3268
DECNET: Fix segmentation fault

If the 'dnet_htoa' function return NULL, '(strdup(dnet_htoa(&dna)))'
gives a segmentation fault.

Context:
- libdnet-dev installed (Thus HAVE_DNET_HTOA defined)
- Missing /etc/decnet.conf
print-decnet.c