Re: Breakage in crypt.c

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Breakage in crypt.c
Date: 2002-06-15 00:52:31
Message-ID: 200206150052.g5F0qVK07583@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Oliver Elphick 2002-06-15 03:52:35 Re: FEATURE REQUEST - More dynamic date type?
Previous Message Alvaro Herrera 2002-06-15 00:12:10 Re: I must be blind...