ldb: use strncmp instead of strcmp when comparing the val part
commit057896a090870ecec56ad0d2f960e55cef561e9e
authorMatthieu Patou <mat@matws.net>
Thu, 13 Dec 2012 10:18:34 +0000 (13 02:18 -0800)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 8 Feb 2013 04:06:37 +0000 (8 15:06 +1100)
tree1575f21e4a96ff1129fd626eacebeb8876824d57
parent87cbd9414bab2f0a71d71b2c145c11ee71acd573
ldb: use strncmp instead of strcmp when comparing the val part

val part of a DN's component is DATA_BLOB and nothing insure that it
will be finished by a '\0'

Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/ldb/common/ldb_dn.c