lists.arthurdejong.org
RSS feed

Re: attmap_get_value() and optional attributes

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

Re: attmap_get_value() and optional attributes



On Fri, 2010-05-14 at 18:03 -0400, Nalin Dahyabhai wrote:
> We ran into this in testing today: when nslcd tries to read the values
> for an optional, mappable, attribute for an entry, and the no value is
> found, the buffer which is used to hold the return value isn't cleared.
> 
> A client then gets whatever happened to be in that space earlier as the
> attribute value.  In this case, it was a posixAccount entry with no
> loginShell value.

Thanks for reporting this and thanks for the patch. I've fixed it in the
development repository based on your patch.

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