From: Stefan Metzmacher Date: Wed, 23 Dec 2015 11:38:55 +0000 (+0100) Subject: CVE-2015-5370: s3:rpc_server: let a failing sec_verification_trailer mark the connect... X-Git-Tag: samba-4.2.10~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=189c0fbb7a3405f0893f23e5b8d755d259f98eaf;p=thirdparty%2Fsamba.git CVE-2015-5370: s3:rpc_server: let a failing sec_verification_trailer mark the connection as broken BUG: https://bugzilla.samba.org/show_bug.cgi?id=11344 Signed-off-by: Stefan Metzmacher --- diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c index 82bc3dfe30a..610105c5263 100644 --- a/source3/rpc_server/srv_pipe.c +++ b/source3/rpc_server/srv_pipe.c @@ -1243,6 +1243,7 @@ static bool api_pipe_request(struct pipes_struct *p, if (!srv_pipe_check_verification_trailer(p, pkt, pipe_fns)) { DEBUG(1, ("srv_pipe_check_verification_trailer: failed\n")); + set_incoming_fault(p); setup_fault_pdu(p, NT_STATUS(DCERPC_FAULT_ACCESS_DENIED)); data_blob_free(&p->out_data.rdata); TALLOC_FREE(frame);