This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Wish for 2002
- From: Ulrich Drepper <drepper at redhat dot com>
- To: Francois Leclerc <leclerc at austin dot sns dot slb dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: 02 Jan 2002 16:09:03 -0800
- Subject: Re: Wish for 2002
- References: <3C339F99.F1F3B513@austin.sns.slb.com>
- Reply-to: drepper at redhat dot com (Ulrich Drepper)
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 `------------------------