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