]> git.ipfire.org Git - thirdparty/lldpd.git/commit
coverity: fix a false positive in SNMP transport
authorVincent Bernat <vincent@bernat.im>
Tue, 8 Apr 2014 07:17:29 +0000 (09:17 +0200)
committerVincent Bernat <vincent@bernat.im>
Tue, 8 Apr 2014 07:17:29 +0000 (09:17 +0200)
commitb64a011bf4e44317cb171487b65fc8af26de1517
tree3661d3f45d57ab44822505c01aa7c902312b60ba
parent79dae0f0d8fbd1ec6b2bb9c3dbf9a8115f612d12
coverity: fix a false positive in SNMP transport

`remote` is not expected to be a NULL-terminated string. However, just
in case it is used as one somewhere, we alloc the appropriate space for
it.
src/daemon/agent_priv.c