summaryrefslogtreecommitdiff
path: root/CODING_STYLE
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-08-03 01:28:21 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-08-03 01:29:51 -0400
commit4212a3375e03fd12cb407b34cab59dbe4ed9f4eb (patch)
treeda931b87386eda2f71cf99afa5fc38f0c5d19a28 /CODING_STYLE
parent9a6f36c08f1ff93ff861e6371e081122a564c900 (diff)
nspawn: fix truncation of machine names in interface names
Based on patch by Michael Marineau <michael.marineau@coreos.com>: When deriving the network interface name from machine name strncpy was not properly null terminating the string and the maximum string size as returned by strlen() is actually IFNAMSIZ-1, not IFNAMSIZ.
Diffstat (limited to 'CODING_STYLE')
0 files changed, 0 insertions, 0 deletions