]> git.ipfire.org Git - thirdparty/lldpd.git/commit
Small fixes detected by clang analyzer.
authorVincent Bernat <bernat@luffy.cx>
Sun, 13 Jan 2013 01:53:37 +0000 (02:53 +0100)
committerVincent Bernat <bernat@luffy.cx>
Sun, 13 Jan 2013 02:34:58 +0000 (03:34 +0100)
commit506273e9a27223b6748b2517069770fc80d726ae
tree24514bbee066047d34db08a615dec2054f525d93
parenta6c894e35018ad72d336b2e1f6fd2bcea1fa5ad9
Small fixes detected by clang analyzer.

 - log: mark `fatal*()` function as noreturn
 - event: insert client in the list after its creation
 - lldpcli: avoid confusion by initializing cargc to 0
 - lldpd: avoid ambiguous use of strlen() in initialization
 - lldp/edp: fix memory leaks
 - tokenizer: fix a memory leak in low memory condition
 - cdp: don't accept too short TLV for port description
src/client/lldpcli.c
src/client/tokenizer.c
src/daemon/cdp.c
src/daemon/edp.c
src/daemon/event.c
src/daemon/lldp.c
src/daemon/lldpd.c
src/log.h