]> git.ipfire.org Git - thirdparty/lxc.git/commit
network: ensure interface name is NULL terminated
authorMichael Santos <michael.santos@gmail.com>
Sat, 19 Mar 2011 15:10:12 +0000 (11:10 -0400)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Tue, 22 Mar 2011 14:04:52 +0000 (15:04 +0100)
commitdae3fdf6b66f5bc309c4482e4a304c744569a81a
tree7769a4dc65e8b65037665ceb45c5c3955bc45cad
parent76f74594a176fe1591c5e6910c08a80364ff8640
network: ensure interface name is NULL terminated

IFNAMSIZ includes the trailing NULL.

Signed-off-by: Michael Santos <michael.santos@gmail.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/network.c