Zero length strings in LDB
idra at samba.org
Sun May 22 07:05:21 GMT 2005
On Sun, 2005-05-22 at 13:37 +1000, Andrew Bartlett wrote:
> Is it valid to have a zero length string in LDB?
> I currently have ldb segfault:
> ldbsearch "(&(objectClass=user)(samAccountName=))"
> I'm assuming that this should just fail to parse, but I would like to
> clarify things before I start changing ldb...
I think this is an invalid filter, but it is strange it segfaults.
We have a specific test for bad filters, after fiing this case we should
add this kind of bad filter to the tests.
Simo Sorce - idra at samba.org
Samba Team - http://www.samba.org
Italian Site - http://samba.xsec.it
More information about the samba-technical