CVE-2015-3223: lib: ldb: Use memmem binary search, not strstr text search.
authorJeremy Allison <jra@samba.org>
Tue, 9 Jun 2015 21:00:01 +0000 (14:00 -0700)
committerKarolin Seeger <kseeger@samba.org>
Thu, 10 Dec 2015 09:23:25 +0000 (10:23 +0100)
commitef6f1517cc12ef2c5ec076bf8b00c03adc14de0b
tree9e1af0901ba247900b5e5dd84ad7b6cb5fa520f8
parent3e7e136f20aa98d35244989b5d4232b11ae8bfcd
CVE-2015-3223: lib: ldb: Use memmem binary search, not strstr text search.

Values might have embedded zeros.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11325

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
lib/ldb/common/ldb_match.c