This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: FAQ about strlcpy/strlcat ?
aj forwarded:
> [...] Unfortunately, in practice these functions can cause trouble,
> as their intended use encourages silent data truncation, adds
> complexity and inefficiency [...]
What complexity & inefficiency is this referring to?
> [...] Also, compiling with gcc -D_FORTIFY_SOURCE can catch many of the
> errors that these functions are supposed to catch [...]
What errors are strlcpy/strlcat supposed to catch?
- FChE