Justin Erenkrantz <[EMAIL PROTECTED]> writes: > On Fri, May 10, 2002 at 04:41:52PM -0400, Jeff Trawick wrote: > > ...on Linux and AIX and perhaps some other platforms with a threaded > > MPM and crypt() passwords. I saw it myself on AIX before teaching APR > > to use crypt_r(). Somebody else at IBM saw it on both AIX and Linux. > > > > This should be fixed as of a couple of hours ago on Linux and AIX. No > > change should be necessary on Solaris, OS/390, and HP-UX. I dunno > > about the other platforms where threads work well enough for Apache. > > Darwin looks like its screwed - it's using a static buffer.
crypt() is fine if it uses thread-specific storage (like Solaris, OS/390, HP-UX); that's a better fix than adding crypt_r() since old code just works and since you avoid the mess regarding the lack of a standard interface to crypt_r() (maybe I'll find time to write a test pgm to see if crypt() returns thread-specific storage) -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...
