This is a discussion on Re: [RFC][PATCH] Detect and handle PAM changing user name within the OpenSSH Development forums, part of the Networking and Network Related category; On Thu, May 24, 2007 at 02:18:33PM -0500, James R. Leu wrote: > + free(authctxt->pw); > + ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@mindrot.org http://lists.mindrot.org/mailman/lis...enssh-unix-dev |