mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Die if tor_vasprintf fails in connection_printf_to_buf
tor_asprintf already asserts if it fails.
This commit is contained in:
committed by
Nick Mathewson
parent
b70a0a4375
commit
8aad677bb7
@@ -0,0 +1,9 @@
|
||||
o Minor bugfixes:
|
||||
- Abort if tor_vasprintf fails in connection_printf_to_buf (a
|
||||
utility function used in the control-port code). This shouldn't
|
||||
ever happen unless Tor is completely out of memory, but if it
|
||||
had happened and Tor somehow recovered from it, Tor could have
|
||||
sent a log message to a control port in the middle of a reply to
|
||||
a controller command. Fixes part of bug 3428.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user