LWN.net Logo

strlcpy

strlcpy

Posted Jun 13, 2003 0:14 UTC (Fri) by ncm (subscriber, #165)
In reply to: strlcpy by bgilbert
Parent article: strlcpy

"you seem to be proposing that the function should deliberately write past the end of the buffer in this case"

I see that you stopped reading at that point. Pray read on. Programming errors shouldn't silently be worked around, they should result in a lot of noise, smoke, and flame.


(Log in to post comments)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds