Merge branch 'maint-0.3.2'

This commit is contained in:
Nick Mathewson 2017-12-21 10:27:39 -05:00
commit bcc96c77de

View File

@ -286,8 +286,8 @@ update_socket_info_impl, (socket_table_ent_t *ent))
* more in the kernel for now. */ * more in the kernel for now. */
ent->limit = 0; ent->limit = 0;
} else { } else {
/* Adding two positive int64_t together will always fit in an uint64_t. /* The positive sum of two int64_t will always fit into an uint64_t.
* And we know this will always be positive. */ * And we know this will always be positive, since we checked above. */
ent->limit = (uint64_t)tcp_space + (uint64_t)extra_space; ent->limit = (uint64_t)tcp_space + (uint64_t)extra_space;
} }
return; return;