ldb: Add new function ldb_dn_add_child_val()
authorAndrew Bartlett <abartlet@samba.org>
Tue, 3 Jul 2018 03:16:56 +0000 (15:16 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 15 Aug 2018 05:08:24 +0000 (07:08 +0200)
commit2dafbd32136b7d4253bcadde4c038272350f7bb2
treef6e0a828d7fe1a71992ea429dbbd2d3fcaff9d1d
parent542e7c179112933f82ea68ce6c04c2a596522617
ldb: Add new function ldb_dn_add_child_val()

This is safer for untrusted input than ldb_dn_add_child_fmt()

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
lib/ldb/common/ldb_dn.c
lib/ldb/include/ldb.h
lib/ldb/tests/test_ldb_dn.c [new file with mode: 0644]
lib/ldb/wscript