Re: libpq not reentrant - Mailing list pgsql-bugs

From Tom Lane
Subject Re: libpq not reentrant
Date
Msg-id 6364.1011365947@sss.pgh.pa.us
Whole thread Raw
In response to libpq not reentrant  (Federico Di Gregorio <fog@initd.org>)
Responses Re: libpq not reentrant
List pgsql-bugs
Federico Di Gregorio <fog@initd.org> writes:
> libpq claims to be reentrant; to put it shortly it isn't. the problem
> arise when using crypt authentication. on the Linux/glibc2 arch, the
> call to crypt() is not reentrant and crypt_r or DES/libcrypto crypt
> should be used instead.

Hmm.  Good point; but crypt_r isn't portable, so we can't easily switch
over to it.  Thoughts?

            regards, tom lane

pgsql-bugs by date:

Previous
From: Federico Di Gregorio
Date:
Subject: libpq not reentrant
Next
From: Federico Di Gregorio
Date:
Subject: Re: libpq not reentrant