[tor-commits] [arm/master] fix: cropping whitespace-only strings could crash