]> git.ipfire.org Git - thirdparty/nftables.git/commit
src: Use snprintf() over strncpy()
authorHarsha Sharma <harshasharmaiitr@gmail.com>
Sun, 8 Oct 2017 19:23:43 +0000 (00:53 +0530)
committerFlorian Westphal <fw@strlen.de>
Sat, 3 Mar 2018 09:37:31 +0000 (10:37 +0100)
commitf128afe52159b65712d47f17353c5f84ca837cf4
tree6ddfd0560bc27ab82456be6854a06c2b2efc7789
parentcc8c5fd02448a415473e1afc3f7155bed3940e0d
src: Use snprintf() over strncpy()

Use snprintf() over strncpy() functions as the buffer is not null
terminated in strncpy().

Signed-off-by: Harsha Sharma <harshasharmaiitr@gmail.com>
src/iface.c
src/netlink.c