mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
1ca2ec1188
Executing dreplsrv_run_pending_ops() directly may cause a segfault as in case of failure, the _drepl_replica_sync_done_cb() callback gets called *before* drepl_replica_sync() returns. In such case, irpc message gets freed twice - once when irpc_send_reply() gets called and once when drepl_replica_sync() returns