watsonbladd at gmail.com
Sat Feb 17 02:19:51 UTC 2007
I couldn't help but notice a strncpy in the diagrams. That's
inefficient, and insecure. The reason is that strncpy fills the entire
rest of the target string with \x00 but might not do it if the sizes
differ. Use strlcpy instead! It's almost a drop in replacement, faster,
and more secure.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 249 bytes
Desc: OpenPGP digital signature
More information about the tor-dev