diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-06-22 09:42:02 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-06-24 23:46:09 +1000 |
commit | 73a33be036fd7a903c9fecf077534cafe360e427 (patch) | |
tree | 8d5bc659bb630c81b9c67f229bb73dd15ba5d73b /source4/scripting | |
parent | 763f9e82010e4ff1c74aea651e3244063bbf7fbf (diff) | |
download | samba-73a33be036fd7a903c9fecf077534cafe360e427.tar.gz samba-73a33be036fd7a903c9fecf077534cafe360e427.tar.bz2 samba-73a33be036fd7a903c9fecf077534cafe360e427.zip |
s4-drepl: Ensure that the op->source does not get deallocated too early
We need to have the struct dreplsrv_partition_source_dsa around until the end of the
async op, so we use talloc_reference after carefully checking the callers and
making the modifications required.
This prevents a crash when replicating partitions in the vampire_dc test after
adding DNS replication at join time.
Andrew Bartlett
Diffstat (limited to 'source4/scripting')
0 files changed, 0 insertions, 0 deletions