]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
routed(8): Misc. cleanups to squelch Coverity.
authorpfg <pfg@FreeBSD.org>
Sun, 15 May 2016 03:04:21 +0000 (03:04 +0000)
committerpfg <pfg@FreeBSD.org>
Sun, 15 May 2016 03:04:21 +0000 (03:04 +0000)
commit825aa5d5805c303dca21ce9fc4f5b64097971655
tree37c6a6d4203e0e11bf4149e55b3ac7c03e36b7ab
parentc5c6630f07c77ca823837b255d06f6b70df2125e
routed(8): Misc. cleanups to squelch Coverity.

table.c:
Copy into fixed size buffer.

trace.c:
Argument got dup2() cannot be negative.
Copy into fixed size buffer.

CID: 10067851006786, 271301
Obtained from: NetBSD
MFC after: 2 weeks.
sbin/routed/table.c
sbin/routed/trace.c