am 33b6de4b: am d55d8dac: Merge "prevent ioctl_init() to write outside buffer"

* commit '33b6de4b94e018b3cb621db5eabcb3a4f18bdd3d':
  prevent ioctl_init() to write outside buffer
diff --git a/cryptfs.c b/cryptfs.c
index cdeb16d..d5ceaef 100644
--- a/cryptfs.c
+++ b/cryptfs.c
@@ -319,7 +319,7 @@
     io->version[2] = 0;
     io->flags = flags;
     if (name) {
-        strncpy(io->name, name, sizeof(io->name));
+        strlcpy(io->name, name, sizeof(io->name));
     }
 }