[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #3122 [Tor Client]: Write and use constant-time comparison functions
#3122: Write and use constant-time comparison functions
-------------------------+--------------------------------------------------
Reporter: rransom | Owner: ioerror
Type: enhancement | Status: needs_review
Priority: major | Milestone: Tor: 0.2.1.x-final
Component: Tor Client | Version:
Keywords: | Parent:
Points: | Actualpoints:
-------------------------+--------------------------------------------------
Comment(by Sebastian):
I looked through all the different transformations of memcmp (the last two
patches in the branch) and didn't spot anything obvious.
Maybe we should add something (maybe to make test, or make check-spaces,
or even something new for this purpose) that prints a warning if we're
using memcmp anywhere in src/ other than src/common/di_ops* with the
possible exception of unit tests? The cleanup would be easy - only two
comments (one in dirserv.c, one in routerlist.c) remain.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3122#comment:25>
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