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; --===============0414665357== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CE+1k2dSO48ffgeK" Content-...


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-25-2007
James R. Leu
 
Posts: n/a
Default Re: [RFC][PATCH] Detect and handle PAM changing user name


--===============0414665357==
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="CE+1k2dSO48ffgeK"
Content-Disposition: inline


--CE+1k2dSO48ffgeK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:
>=20
> > + free(authctxt->pw);
> > + authctxt->pw =3D pw;

>=20
> 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.
>=20
> -Ed


--=20
James R. Leu
jleu at inoc.com
INOC -> http://inoc.com/
DELIVERING UPTIME

--CE+1k2dSO48ffgeK
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFGVjc+JNb7hw1XmskRAlFLAJ0USZaTlobMn1ZNc79xhW MVbbnJSgCeMCcS
SPa95IXV3f/pb0q6v+TlpWs=
=2pVB
-----END PGP SIGNATURE-----

--CE+1k2dSO48ffgeK--

--===============0414665357==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/lis...enssh-unix-dev

--===============0414665357==--
Reply With Quote
Reply


Thread Tools
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

vB 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 09:54 AM.


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