[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Possible bug in ldap_get_values_len?



Emmanuel Lecharny wrote:
   On 10/18/10 12:48 PM, Howard Chu wrote:
But it's certainly stupid for the server to attach the attribute to
the response with no values, since this is obviously NOT an attrsOnly
search response.
What about an AttributeType with an OctetString syntax ? It may have an
empty value...

The function would return a zero-length berval in that case. There's a difference between no values, and one value of zero length.

--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/