[tor-commits] [tor/master] Fix possible UB in an end-of-string check in get_next_token().