strlcpy()
Posted May 29, 2003 17:05 UTC (Thu) by
cpeterso (subscriber, #305)
In reply to:
strlcpy() by eh
Parent article:
strlcpy()
I agree that glibc should add these functions. *BSD has had them for years. I think even the Solaris libc has them.
I think glibc should go a step further and actually remove the dangerous functions like strcpy(). There are safe replacements. glibc should use a carrot and stick approach. Offer the safe replacements and remove (or just deprecate) the dangerous functions.
(
Log in to post comments)