Re: Breakage in crypt.c - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Breakage in crypt.c
Date
Msg-id 200206150052.g5F0qVK07583@candle.pha.pa.us
Whole thread Raw
In response to Breakage in crypt.c  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> There are various paths of control in md5_crypt_verify that do
> 
>         if (passwd)
>             pfree(passwd);
>         if (valuntil)
>             pfree(valuntil);
> 
> Isn't this now pfree'ing part of the saved pre-parsed pg_pwd data?

Oops, yep.  Fixed.  The pfree's were fine in 7.2, but now, we cache
pg_pwd.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Rocco Altier
Date:
Subject: Re: Non-standard feature request
Next
From: Oliver Elphick
Date:
Subject: Re: FEATURE REQUEST - More dynamic date type?