s4-ldb: allow for non-null terminated ldb_val in ldb_dn_from_ldb_val
authorAndrew Tridgell <tridge@samba.org>
Wed, 21 Oct 2009 11:18:16 +0000 (22:18 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 21 Oct 2009 11:43:58 +0000 (22:43 +1100)
commit1467e5eaab24b2b5c90ba0dd4e9dad4f321568c3
tree6bb30f3df90ca2b9a1635a5cdb927b81cf63038c
parent16a80f17425c5de9d0bd52494e3e26a6840cfd7d
s4-ldb: allow for non-null terminated ldb_val in ldb_dn_from_ldb_val

The strlen() could go past the end of a non-null terminated value
source4/lib/ldb/common/ldb_dn.c