Re: [PATCH] NSS: Return TRYAGAIN on zero-length buffer
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
Re: [PATCH] NSS: Return TRYAGAIN on zero-length buffer
- From: Jakub Hrozek <jhrozek [at] redhat.com>
- To: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: Re: [PATCH] NSS: Return TRYAGAIN on zero-length buffer
- Date: Tue, 19 Mar 2013 21:02:46 +0100
On Tue, Mar 19, 2013 at 08:48:57PM +0100, Arthur de Jong wrote:
> On Tue, 2013-03-19 at 11:45 +0100, Jakub Hrozek wrote:
> > One of our customers was running into a situation where glibc provided
> > a zero-length buffer, which is a condition that is retriable and the nss
> > module should return NSS_STATUS_TRYAGAIN not NSS_STATUS_UNAVAIL.
>
> It is a bit weird for libc to pass an empty buffer but the change
> shouldn't be too intrusive so I've committed it to the repository.
I completely agree, I'll try to get more details.
Thank you for accepting the patch!
--
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users/