r23993: Attempt to fix bug #4808, reported by mwallnoefer@yahoo.de. The issue
authorAndrew Bartlett <abartlet@samba.org>
Mon, 23 Jul 2007 01:46:39 +0000 (01:46 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 20:01:16 +0000 (15:01 -0500)
commitb7f9e85db13c8a6959b7c391efdaa3c723d2772e
treea92b7e8feab612745223f81bbd94c28b31b9f2ed
parent62b56dc2db5285a55d1abc3a849db8fd96e0ac8f
r23993: Attempt to fix bug #4808, reported by mwallnoefer@yahoo.de.  The issue
is that when we all ldb_msg_add_empty(), we might realloc() the
msg->elements array.  We need to ensure the source pointer (when
copying an element from the same msg) is still valid, or the data
copied.

Andrew Bartlett
(This used to be commit 0fbea30577233d00e7c6cdd4faaece0f99fc57b1)
source4/lib/ldb/common/ldb_msg.c