This is the mail archive of the libc-hacker@cygnus.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]

nss buffers?


I just noticed that a getspnam() call will trash the buffer used by a
previous getpwnam(). This caused wu-ftpd to break.

Fixing wu-ftpd is simple, but what do the standards say? Is that buffer
allowed to be shared?

-- 
Matthias Urlichs  |  noris network GmbH   |   smurf@noris.de  |  ICQ: 20193661
The quote was selected randomly. Really.    |      http://www.noris.de/~smurf/
-- 
No one is ever old enough to know better.
                                -- Holbrook Jackson


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