[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: tor callgrinds



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.
Thanks,
Watson Ladd


Attachment: signature.asc
Description: OpenPGP digital signature