]> git.ipfire.org Git - thirdparty/lldpd.git/commit
lib: remove limit on system description length
authorVincent Bernat <vincent@bernat.ch>
Tue, 14 Jul 2020 05:16:47 +0000 (07:16 +0200)
committerVincent Bernat <vincent@bernat.ch>
Tue, 14 Jul 2020 05:16:47 +0000 (07:16 +0200)
commit78243478dcec865486b387cf361783dc137015b5
tree11652fffa43f2c62c6f746ac7e2538a4520d35a4
parent4d5aa4211ad302ff98614289428b425b117e36bb
lib: remove limit on system description length

The limit was introduced in 9c49cedf8e75 while fixing a memory leak.
The state data is used to ensure we don't interleave operations. We
need to handle the case where the value is truncated because it is
larger than the allocated size.

Fix #408.
src/lib/atom.c
tests/integration/test_lldpcli.py