[tor-commits] [tor/master] Unpack a smartlist_foreach and add an assert: try to hunt #5102