malloc also terminating NUL