Allocate space for null terminator in error buffer