[tor-commits] [tor/master] net, tls: use INT_MAX - 1 in checks for buf_t