Fixed string allocation where space for null char was not allocated