The key/value format K=V is used extensively in the Tor code and seems many places uses their own way to parse that.
This ticket is for implementing a library to parse such K/V construction. There is a world where we might require V to be quoted or not so I'll let this challenge to the implementer(s).
This ticket comes from the work done in #28179 (moved) that implements messages from the PT to the Tor process.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items 0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items 0
Link issues together to show that they're related.
Learn more.
The initial implementation is a bit different, because the fuzzer found a bunch of problems, most of them related to eat_whitespace() not doing what I expected, and a few of them related to ambiguity involving weird standalone values like "=foo" or "".
The fuzzing corpus is in a "strops" branch in my private fuzzing-corpora repo; I'll merge that when you like this.