Re: [PATCH] Fix pam_access addrinfo loops

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

 



On Sun, 2006-07-02 at 00:26 +0400, Dan Yefimov wrote:
> 				Hello!
> 	Linux-PAM 0.99.5.0 has problems with pam_access module. In function 
> from_match() loop at lines from 547 up to 567 follows addrinfo chain 
> incorrectly. It only follows the chain if current addrinfo structure has 
> ai_family field equal to AF_INET and releases the entire chain at the end of
> the first iteration. Additionally, getaddrinfo() is called with AI_ADDRCONF 
> flag, which is both excessive in that context and defined not in every system. 
> Attached patch fixes both issues. Please apply.

Applied, thank you for finding the bug and providing the patch, Dan.
-- 
Tomas Mraz <tmraz@xxxxxxxxxx>

_______________________________________________

Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

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

  Powered by Linux