[tor-commits] [tor/master] Detect insanely large circuit build state; don't give its length to rand_int