This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Wish for 2002


Francois Leclerc <leclerc@austin.sns.slb.com> writes:

> One of the impediment is the portability of strlcat and strlcpy in
> glibc.

As repeatedly said, these functions are completely nonsense.  They
don't increase security, they only allow sloppy programmers get by
without fixing there code.  At any time the programmer must be aware
of the sizes of the arrays involved.  Adding these interfaces would
only mean promoting writing broken code which will never happen.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]