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?

			regards, tom lane

Fri, 14 Jun 2002 13:08:16 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Breakage in crypt.c
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, Pennsylvania 19026

Fri, 14 Jun 2002 20:52:31 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: Breakage in crypt.c