Red Hat Bugzilla – Bug 485990
substring searches match null values
Last modified: 2015-01-04 18:36:37 EST
If you have add two test entries like this (note the empty title value in the second entry):
Then a search like this will return BOTH of them:
ldapsearch -b "dc=cup,dc=hp,dc=com" "title=*est*"
Actually this seems to be fixed in a build from the tip pulled about a week ago. I haven't found the change that fixed it though. Anyone recall fixing it? :)
It works fine for me, too. :) And I don't recall any fixes related to the bug...
How old was the server when you observed the bug? Weeks? Months?
I can reproduce the bug with 8.0 builds and it was originally reported in 6.11.
Found it! Nathan fixed it recently.
Bug 174394 - Substring regex gets confused by empty values
*** This bug has been marked as a duplicate of bug 174394 ***