s4:dsdb Use talloc_strndup() to ensure OIDs are null terminated
authorAndrew Bartlett <abartlet@samba.org>
Mon, 24 Aug 2009 10:22:18 +0000 (20:22 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 24 Aug 2009 10:24:19 +0000 (20:24 +1000)
commitbe9441ac3fa167f97f54700e52dec9995b170fa3
tree9eb52828478e37f11e25c5a9cf5ef0676dfbca8d
parent7234a24f821743c60075d1e2868fba7b0f2a8f8b
s4:dsdb Use talloc_strndup() to ensure OIDs are null terminated

The OIDs are not NULL terminated by the python caller, in line with
the LDB API, but we need them to be here, as we were casting them to a
string.

Andrew Bartlett
source4/dsdb/samdb/ldb_modules/schema_fsmo.c