[tor-commits] [tor/master] Avoid overflows and underflows in sscanf and friends