]> git.puffer.fish Git - matthieu/frr.git/commit
eigrpd: validate TLV lengths
authorMark Stapp <mjs@voltanet.io>
Mon, 26 Apr 2021 15:20:57 +0000 (11:20 -0400)
committerMark Stapp <mjs@voltanet.io>
Mon, 26 Apr 2021 15:20:57 +0000 (11:20 -0400)
commitbb46c2d1ff22108ce65d266f65b9068cf5f0677a
tree1b5559b358a7139fa175a3b104aa82f6bf00a2ff
parent7408af70f56e72cddee11c0c864aec39588cd3a4
eigrpd: validate TLV lengths

Check that incoming TLVS a) don't overrun the incoming packet,
b) don't underrun the required size for the type of TLV.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
eigrpd/eigrp_hello.c