[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #4195 [Tor Relay]: Stop using sscanf in rephist
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs