It works like champ... cool.. thanks.
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Friday, October 16, 2009 4:15 PM
To: Douglas, Ryan
Cc: Magnus Hagander; pgsql-bugs
Subject: Re: [BUGS] BUG #5121: Segmentation Fault when using pam w/ krb5
"Douglas, Ryan" <RDouglas(at)arbinet(dot)com> writes:
> You were right. According to the trace msg is null.
Hah. This must be triggered by something Active Directory does that a
KDC doesn't, because I'm still not seeing it here. But anyway the
problem is clear now, we have to avoid referencing msg when num_msg
Please try the attached patch and see if it behaves sanely for you.
This is based on openssh's PAM callback, so it ought to be more robust
than what we had. (This is against 8.4 branch tip, but it should apply
to 8.4.1 with maybe a few lines' offset.)
regards, tom lane
In response to
pgsql-bugs by date
|Next:||From: David Fetter||Date: 2009-10-16 21:13:16|
|Subject: Re: BUG #5123: bug in window function "last_value"|
|Previous:||From: Tom Lane||Date: 2009-10-16 20:15:22|
|Subject: Re: BUG #5121: Segmentation Fault when using pam w/ krb5 |