]> git.ipfire.org Git - thirdparty/lldpd.git/commit
lldp: validate a bit more received LLDP frames fix/more-tlv-validation 356/head
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 19:47:37 +0000 (21:47 +0200)
commit5812b52000ff6e2cacb6b684566c17675e8c0e12
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