diff options
author | cypherpunks <cypherpunks@torproject.org> | 2020-03-03 07:01:05 +0000 |
---|---|---|
committer | cypherpunks <cypherpunks@torproject.org> | 2020-03-24 05:19:24 +0000 |
commit | fd3e0c154236c59c2972b549500675980bb02507 (patch) | |
tree | d2b0fede6c65721d2976a612fa61ee613790dd68 /changes/bug28454 | |
parent | b9c7c61ea5233854ff83257a8bc530b7e0a50351 (diff) | |
download | tor-fd3e0c154236c59c2972b549500675980bb02507.tar.gz tor-fd3e0c154236c59c2972b549500675980bb02507.zip |
core/mainloop: Limit growth of conn->inbuf
If the buf_t's length could potentially become greater than INT_MAX - 1,
it sets off an IF_BUG_ONCE in buf_read_from_tls().
All of the rest of the buffers.c code has similar BUG/asserts for this
invariant.
Diffstat (limited to 'changes/bug28454')
0 files changed, 0 insertions, 0 deletions