]> 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:24:29 +0000 (02:24 +0200)
commit9221b5c249f9e4843f77c7f888d5705348d179c0
treed25c40e52e63f7aea094c98d2d7c6c3b34761db2
parentff75b38e6f04959b654ec2e6b6e8ae8011a7ba08
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