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