[RFC][PATCH] Detect and handle PAM changing user name
James R. Leu
jleu at inoc.com
Fri May 25 11:09:21 EST 2007
Thank you for pointing this out.
On Thu, May 24, 2007 at 03:38:35PM -0400, Ed Maste wrote:
> 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
--
James R. Leu
jleu at inoc.com
INOC -> http://inoc.com/
DELIVERING UPTIME
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20070524/214f5b05/attachment.bin
More information about the openssh-unix-dev
mailing list