Re: Memory leaks in PAM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 02, 2001 at 11:14:03PM -0700, Andrew Morgan wrote:
> Could you try the following experiment?
> 
> Change the service name to 'junk' and create a pam.d/junk file like
> this:
> 
>  auth       required     pam_permit.so
>  account    required     pam_permit.so
> 
> So far as I can tell, there is a memory leak for pPasswd when the
> service does not actually invoke the conversation function. If you try
> the above pam.d file, you can see this memory leak in action. When you
> have demonstrated this, could you try replacing pam_pwdb in your sample
> with pam_unix?
> 
> Thanks
> 
> Andrew

With the junk service as described above, there was a memory leak,
as expected.  

I replaced pam_pwdb with pam_unix, and the memory leak has disappeared
entirely.  So, it seems that the memory leak is in pam_pwdb.

-- 
Bart
~~~~
J. Bart Whiteley  <bart@caldera.com>  (801)765-4999
Caldera International, Inc. Orem, UT, USA -- http://www.caldera.com/





[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux