summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-03-14 14:25:48 +0100
committerStefan Metzmacher <metze@samba.org>2012-03-15 07:35:28 +0100
commit553a8921a453d839b87b941719b1ad44c694904f (patch)
treee7436913f64c600db7a8a5e5e89cda3d752a3687 /source4/librpc/rpc
parent6949a7908729bbbac50a5b59e404224264b5f184 (diff)
downloadsamba-553a8921a453d839b87b941719b1ad44c694904f.tar.gz
samba-553a8921a453d839b87b941719b1ad44c694904f.tar.bz2
samba-553a8921a453d839b87b941719b1ad44c694904f.zip
s4:librpc/rpc: if the connecion is dead we're done
There's no point in doing anymore processing, it can just lead to crashes. metze
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r--source4/librpc/rpc/dcerpc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c
index 63d91948f9..47e98e8448 100644
--- a/source4/librpc/rpc/dcerpc.c
+++ b/source4/librpc/rpc/dcerpc.c
@@ -1045,6 +1045,7 @@ static void dcerpc_recv_data(struct dcecli_connection *conn, DATA_BLOB *blob, NT
if (!NT_STATUS_IS_OK(status)) {
data_blob_free(blob);
dcerpc_connection_dead(conn, status);
+ return;
}
dcerpc_request_recv_data(conn, blob, &pkt);