]> The Tcpdump Group git mirrors - tcpdump/commit
CVE-2016-7985,7986/fixup medsa_print() tcpdump-4.9.0-bp
authorDenis Ovsienko <[email protected]>
Wed, 18 Jan 2017 18:01:52 +0000 (18:01 +0000)
committerDenis Ovsienko <[email protected]>
Wed, 18 Jan 2017 18:24:53 +0000 (18:24 +0000)
commitcae54f4d943f163541dc7a90f7f5b432859955e4
tree39d7e6e59e776ebb96f94eb177dd889031d96757
parent2cc01cb08da31c475040c3c67c4d4e9feade59f5
CVE-2016-7985,7986/fixup medsa_print()

The code in medsa_print() assumed that the MEDSA packet always follows
an Ethernet header that is inside the allocated memory buffer. But
this is not always the case, see commit 6bc4429 for rationale.

Eliminate the Ethernet header pointer and just pass on the struct
lladdr_info arguments provided.
netdissect.h
print-ether.c
print-medsa.c