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