calloc -> malloc
 http://www.cplusplus.com/reference/cstring/strncpy/
 ... is found before num characters have been copied, destination is padded with zeros until a
 total of num characters have been written to it.