[tor-bugs] #20527 [Core Tor/Tor]: Fix some unescaped printings of rendservice directories
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Nov 2 13:46:44 UTC 2016
#20527: Fix some unescaped printings of rendservice directories
--------------------------+------------------------------------
Reporter: twim | Owner:
Type: defect | Status: merge_ready
Priority: Medium | Milestone: Tor: 0.3.0.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+------------------------------------
Comment (by twim):
Replying to [comment:3 dgoulet]:
> lgtm; I made an extra fixup commit on top to fix minor things where we
kept the print format `\"%s\"` which would ultimately add again the double
quotes.
AFAIK, `escaped()` already makes strings quoted:
{{{
Allocate and return a new string representing the contents of s,
surrounded by quotes and using standard C escapes.
}}}
Am I wrong?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20527#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list