Fix stack overflow.

Fix stack overflow caused by not caring for:
    String input conversions store a null terminator ('\0') to mark the end
    of the input; the maximum field width does not include this terminator.