diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/librpc/rpc/dcerpc.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c index caf421ba87..8317778bc8 100644 --- a/source4/librpc/rpc/dcerpc.c +++ b/source4/librpc/rpc/dcerpc.c @@ -165,6 +165,14 @@ static bool dcerpc_bh_is_connected(struct dcerpc_binding_handle *h) return false; } + if (!hs->p->conn) { + return false; + } + + if (hs->p->conn->dead) { + return false; + } + return true; } |