s4-rpmd: fixed a use after realloc bug
authorAndrew Tridgell <tridge@samba.org>
Fri, 1 Oct 2010 17:26:49 +0000 (10:26 -0700)
committerAndrew Tridgell <tridge@samba.org>
Fri, 1 Oct 2010 17:44:24 +0000 (10:44 -0700)
commitf6bc4c08b19f5615a49d281c0792c7fe4627e9bc
tree23894a4c17e77747013c9025e3ad2309b28acec0
parent4beff4d7ba6709009ad81e3becb691b9d81e5611
s4-rpmd: fixed a use after realloc bug

we could use old_el after the base message had been re allocated, due
to adding timestamps. We need to re-find the element before using it

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/repl_meta_data.c