Make sure failure string is null-terminated after strncpy