[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #8790 [Tor]: Don't even use strcat/strcpy in the unit tests
#8790: Don't even use strcat/strcpy in the unit tests
------------------------+---------------------------------------------------
Reporter: nickm | Owner:
Type: defect | Status: new
Priority: trivial | Milestone: Tor: 0.2.5.x-final
Component: Tor | Version:
Keywords: tor-client | Parent:
Points: | Actualpoints:
------------------------+---------------------------------------------------
Using strcpy() is embarrassing, even when you happen to be using it
safely. Our unit tests use it in a few places. Let's replace them with
strlcpy.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8790>
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