[tor-commits] [tor/master] string: Check UTF-8 string pointer and length