]> git.ipfire.org Git - thirdparty/lldpd.git/commit
protocols: don't use assert on paths that can be reached
authorVincent Bernat <vincent@bernat.im>
Sun, 4 Oct 2015 00:24:29 +0000 (02:24 +0200)
committerVincent Bernat <vincent@bernat.im>
Sun, 4 Oct 2015 00:26:59 +0000 (02:26 +0200)
commit793526f8884455f43daecd0a2c46772388417a00
treec62feadb0f691e2760cf8684132d4869db77083b
parent479c1a61ffc652aa713f371d969f4645052fac4f
protocols: don't use assert on paths that can be reached

Malformed packets should not make lldpd crash. Ensure we can handle them
by not using assert() in this part.
src/daemon/lldpd.c
src/daemon/protocols/cdp.c
src/daemon/protocols/edp.c
src/daemon/protocols/lldp.c
src/daemon/protocols/sonmp.c