]> git.ipfire.org Git - thirdparty/lldpd.git/commit
med: fix parsing of LLDP-MED LCI when TLV size exceeds addr size
authorVincent Bernat <vincent@bernat.im>
Fri, 25 Nov 2016 19:17:58 +0000 (20:17 +0100)
committerVincent Bernat <vincent@bernat.im>
Fri, 25 Nov 2016 19:17:58 +0000 (20:17 +0100)
commit23ce0513e1bd5530e2055534243ac0c8fb0813ee
tree8d1e86f233a9ecd897fa2fe887fd8248b0ec2823
parent0b8a576fce79140c6584bb16e62938657e7c26f0
med: fix parsing of LLDP-MED LCI when TLV size exceeds addr size

Some equipments are sending an address whose size is less than the
declared TLV size. The TLV is padded with 0. We rejected this because of
a size mismatch.

Fix #210.
NEWS
src/lib/atoms/med.c