[tor-commits] [tor/master] prevent same entry and exit for insane edge case