strcpy_s, strlcpy, and strncpy and checking for overflow
Ulrich Drepper
drepper@redhat.com
Sun May 6 17:22:00 GMT 2007
Yuhong Bao wrote:
> Regardless it is not part of a standard yet, so it may not be a good
> idea to add it to glibc.
No, it's not. If you're concerned about overflows use the functions
which do all this by themselves. Read
http://people.redhat.com/drepper/defprogramming.pdf
--
â§ Ulrich Drepper â§ Red Hat, Inc. â§ 444 Castro St â§ Mountain View, CA â
More information about the Libc-alpha
mailing list