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)
committerRalph Boehme <slow@samba.org>
Wed, 9 Dec 2015 16:17:04 +0000 (17:17 +0100)
commitbb1b783ee9d7259cfc6a1fe882f22189747f8684
treeb5d30baf7bf06ad5332834206b1a7b71c63d3980
parentfb456954f332c07a645226d59b3b00ec252f8b26
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