mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
Merge branch 'maint-0.3.2'
This commit is contained in:
commit
bcc96c77de
@ -286,8 +286,8 @@ update_socket_info_impl, (socket_table_ent_t *ent))
|
||||
* more in the kernel for now. */
|
||||
ent->limit = 0;
|
||||
} else {
|
||||
/* Adding two positive int64_t together will always fit in an uint64_t.
|
||||
* And we know this will always be positive. */
|
||||
/* The positive sum of two int64_t will always fit into an uint64_t.
|
||||
* And we know this will always be positive, since we checked above. */
|
||||
ent->limit = (uint64_t)tcp_space + (uint64_t)extra_space;
|
||||
}
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user