Fix strncpy(), strncat() so they work according to the (braindead) specs;
add [v]asprintf(), strlcpy(), strlcat() since they're good for security

9 files changed