Re: [RFC][PATCH] Detect and handle PAM changing user name

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); > + ...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-24-2007
Ed Maste
 
Posts: n/a
Default Re: [RFC][PATCH] Detect and handle PAM changing user name

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:26 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0