ldb_msg: Don't fail in ldb_msg_copy() if source DN is NULL
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 13 Sep 2021 23:08:41 +0000 (11:08 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 15 Sep 2021 07:59:31 +0000 (07:59 +0000)
commitc2bbe774ce03661666a1f48922a9ab681ef4f64b
tree4c599bfb88608149f6d0793f0317f641d215f574
parenta99a76722d6046a5d63032e3d2bb3f791da948a6
ldb_msg: Don't fail in ldb_msg_copy() if source DN is NULL

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
lib/ldb/common/ldb_msg.c