Fix crashes when string tokenizer overflowed.