]> git.ipfire.org Git - thirdparty/lldpd.git/commit
lldp: validate a bit more received LLDP frames
authorVincent Bernat <vincent@bernat.ch>
Tue, 1 Oct 2019 19:42:42 +0000 (21:42 +0200)
committerVincent Bernat <vincent@bernat.ch>
Tue, 1 Oct 2019 20:09:19 +0000 (22:09 +0200)
commit3aeae72b97716fddac290634fad02b952d981f17
tree32591d30bf97a1723aae652e34e7750402b0844d
parentfc5526dae75fa1e182fe46cef01045226cd92b36
lldp: validate a bit more received LLDP frames

Notably, we ensure the order and unicity of Chassis ID, Port ID and
TTL TLV. For Chassis ID and Port ID, we also ensure the maximum size
does not exceed 256.

Fix #351.
NEWS
src/daemon/protocols/lldp.c