mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 15:10:48 +01:00
The first line break in particular was mishandled: it was discarded if no arguments came before it, which made it impossible to distinguish arguments from the first line of the body. To solve this, we need to allocate a copy of the command rather than using NUL to separate it, since we might have "COMMAND\n" as our input. Fixes ticket 29984.
5 lines
314 B
Text
5 lines
314 B
Text
o Minor bugfixes (controller protocol):
|
|
- Teach the controller parser to correctly distinguish an object
|
|
preceded by an argument list from one without. Previously, it
|
|
couldn't distinguish an argument list from the first line of a
|
|
multiline object. Fixes bug 29984; bugfix on 0.2.3.8-alpha.
|