lists.arthurdejong.org
RSS feed

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



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.

Thanks,

-- 
-- arthur - arthur@arthurdejong.org - http://arthurdejong.org --
-- 
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users/