[tor-commits] [tor/maint-0.2.2] Improve comments and defensive programming for 3045