[RFC][PATCH] Detect and handle PAM changing user name
Ed Maste
emaste at phaedrus.sandvine.ca
Fri May 25 05:38:35 EST 2007
On Thu, May 24, 2007 at 02:18:33PM -0500, James R. Leu wrote:
> + free(authctxt->pw);
> + authctxt->pw = pw;
I haven't looked at 4.6 specifically, but in the version I did
have a look at the pw * returned by pwcopy() has a bunch of
fields that are xstrdup'd, so you'd probably want to implement
a corresponding pwfree() function.
-Ed
More information about the openssh-unix-dev
mailing list