HomePhabricator

Sanitize command strings before logging them.
28d4cff0ed2dUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Sanitize command strings before logging them.

Normally bitcoin core does not display any network originated strings without
sanitizing or hex encoding. This wasn't done for strcommand in many places.

This could be used to play havoc with a terminal displaying the logs,
especially with printtoconsole in use.

Thanks to Evil-Knievel for reporting this issue.

Details

Provenance
Gregory Maxwell <greg@xiph.org>Authored on Feb 8 2015, 00:59
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGINGfb6140b54bad: Merge pull request #5721
Branches
Unknown
Tags
Unknown

Event Timeline

Gregory Maxwell <greg@xiph.org> committed rSTAGING28d4cff0ed2d: Sanitize command strings before logging them. (authored by Gregory Maxwell <greg@xiph.org>).Feb 8 2015, 19:58