Add missing break - thanks to Coverity for finding this one.
Check for truncation in strings.

Found by Coverity.