]> The Tcpdump Group git mirrors - tcpdump/commit
CVE-2017-13687/CHDLC: Improve bounds and length checks.
authorDenis Ovsienko <[email protected]>
Fri, 3 Feb 2017 13:14:51 +0000 (13:14 +0000)
committerDenis Ovsienko <[email protected]>
Wed, 13 Sep 2017 11:25:44 +0000 (12:25 +0100)
commita1eefe986065846b6c69dbc09afd9fa1a02c4a3d
tree1ea896a61424679ef58a386e1ee9ea61a5dcb29b
parent071190f7a96d273fe79dc6f3ca12153d8db1de00
CVE-2017-13687/CHDLC: Improve bounds and length checks.

Prevent a possible buffer overread in chdlc_print() and replace the
custom check in chdlc_if_print() with a standard check in chdlc_print()
so that the latter certainly does not over-read even when reached via
juniper_chdlc_print(). Add length checks.
print-chdlc.c