Re: [Dovecot] crypt() failure is possible

2009-05-21 Thread Timo Sirainen
On Thu, 2009-05-21 at 11:29 +0200, Arkadiusz Miskiewicz wrote: > but according to man page crypt() can fail and NULL is returned then. On > other > hand glibc info page is silent about such failure. > > The thing is that I'm seeing crypt() failure here with new glibc 2.10.1 built > with nss bac

[Dovecot] crypt() failure is possible

2009-05-21 Thread Arkadiusz Miskiewicz
dovecot 1.1.15 in src/auth/password-scheme.c contains: static bool crypt_verify(const char *plaintext, const char *user ATTR_UNUSED, const unsigned char *raw_password, size_t size) { const char *password; if (size == 0) { /* the default mycrypt() han