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

Re: ldap_explode_dn crash if there are more than one '=' in a DN (ITS#3238)



> Pierangelo,
>
> You are right. It does not crash, it just return NULL.
>
> The point it that with previous versions it used to work (for instance
> 2.2.6). Now it is broken.

I didn't go that far to 2.2.6; apprently some other change in DN parsing
tweaked the treatment of unescaped '='; anyway the current behavior is
essentially what was intended at the time the parsing of string
rerpesentations of distinguished names was designed.  The future behavior
is to accept them as input, but escape them as output, as discussed in the
related ITS#2339.

p.

-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it


    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497