In D122025 Jim suggested that we should sanitize the input to the command return object to retain the guarantee that we don't have null bytes in the output. This patch implements that through a Stream wrapper that escapes null bytes.
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Although I can't say exactly what would be the problem with this, this seems like a strange thing to do, and I'm not aware of any other stream class which would handle nul (and _only_ nul) characters specially.