fix: should add 1 byte (for null termination) to an allocation size.