]> 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]>
Sun, 3 Sep 2017 23:08:58 +0000 (00:08 +0100)
commitebb51ef0e725737ca8c1d618da6527a58660d2bf
tree03bef1b449623625b968f8d84ef8daf3d9ef0de8
parent07953b6a4d5f46af83c53a85a6ee7e5d3d51c0b8
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