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]

Re: tmpnam v mkstemp


> Date: Sat, 11 Nov 2000 14:11:01 -0800 (PST)
> From: Paul Eggert <eggert@twinsun.com>

> Does libc also warn about the use of functions like `strcpy' and
> `gets' at link time?  They are security holes as well, if used
> incorrectly.

I believe it warns about 'gets', but not about 'strcpy'.  The
justification is that 'gets' is almost always a problem but the same
is not true for 'strcpy'.

-- 
- Geoffrey Keating <geoffk@geoffk.org>

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