[tor-bugs] #4195 [Tor Relay]: Stop using sscanf in rephist
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Thu Oct 6 18:02:21 UTC 2011
#4195: Stop using sscanf in rephist
-----------------------+----------------------------------------------------
Reporter: nickm | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Tor: 0.2.3.x-final
Component: Tor Relay | Version:
Keywords: | Parent:
Points: | Actualpoints:
-----------------------+----------------------------------------------------
To avoid well-known pitfalls, we use tor_sscanf in lieu of the system
libc's sscanf.... everywhere except for 3 calls in rephist.c.
To fix those, we need support for %lu, %lf, %ld, and %d in tor_sscanf.
This is also coverity issue CID 448.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4195>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list