mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
520cf21793
We've been seeing problems with destroy cells queues taking up a huge amount of RAM. We can mitigate this, since while a full packed destroy cell takes 514 bytes, we only need 5 bytes to remember a circuit ID and a reason. Fixes bug 24666. Bugfix on 0.2.5.1-alpha, when destroy cell queues were introduced.
8 lines
335 B
Plaintext
8 lines
335 B
Plaintext
o Minor bugfixes (memory usage):
|
|
|
|
- When queuing DESTROY cells on a channel, only queue the
|
|
circuit-id and reason fields: not the entire 514-byte
|
|
cell. This fix should help mitigate any bugs or attacks that
|
|
fill up these queues, and free more RAM for other uses. Fixes
|
|
bug 24666; bugfix on 0.2.5.1-alpha.
|