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)
commit0fbea30577233d00e7c6cdd4faaece0f99fc57b1
tree936dfed8e23facf69fa02f65070c08a00cd027e5
parent848336dc617b72d189fe82e10c0b08a518d6d073
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
source/lib/ldb/common/ldb_msg.c