tr: fix "access past the end of a string" bug 4354

1 file changed