tor/src
Nick Mathewson bc91cb6e45 Use strlcpy when copying node IDs into measured_bw_line_t
We were using strncpy before, which isn't our style for stuff like
this.

This isn't a bug, though: before calling strncpy, we were checking
that strlen(src) was indeed == HEX_DIGEST_LEN, which is less than
sizeof(dst), so there was no way we could fail to NUL-terminate.
Still, strncpy(a,b,sizeof(a)) is an idiom that we ought to squash
everyplace.

Fixes CID #427.
2011-07-01 12:56:07 -04:00
..
common Improve documentation of smartlist_split_string 2011-06-22 14:09:43 -07:00
config Merge branch 'maint-0.2.1' into maint-0.2.2 2011-06-05 11:13:50 -04:00
or Use strlcpy when copying node IDs into measured_bw_line_t 2011-07-01 12:56:07 -04:00
test Fix minor comment issues 2011-06-22 14:09:43 -07:00
tools Remove the -F option from tor-resolve. 2011-05-23 16:59:41 -04:00
win32 bump to 0.2.2.19-alpha 2010-11-21 18:00:12 -05:00
Makefile.am Move testing code into new src/test directory. 2009-09-23 00:24:43 -04:00