libcmini
libcmini copied to clipboard
strncpy does not write additional null bytes
If the length of src is less than n, strncpy() should write additional null bytes to dest to ensure that a total of n bytes are written.