Breakage in crypt.c

Поиск
Список
Период
Сортировка
Искать

Breakage in crypt.c

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
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

Re: Breakage in crypt.c

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
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

FAQ