CVE-2015-5370: s3:rpc_server: let a failing BIND mark the connection as broken
authorStefan Metzmacher <metze@samba.org>
Wed, 23 Dec 2015 11:38:55 +0000 (12:38 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 30 Mar 2016 02:10:15 +0000 (04:10 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11344

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
source3/rpc_server/srv_pipe.c

index ad4b7a865b0c460469db350f94c682d263f81073..7e33ff0bd6414e5fda7268ab47ed7c0117066f5d 100644 (file)
@@ -278,6 +278,7 @@ static bool setup_bind_nak(struct pipes_struct *p, struct ncacn_packet *pkt)
        p->out_data.data_sent_length = 0;
        p->out_data.current_pdu_sent = 0;
 
+       set_incoming_fault(p);
        TALLOC_FREE(p->auth.auth_ctx);
        p->auth.auth_level = DCERPC_AUTH_LEVEL_NONE;
        p->auth.auth_type = DCERPC_AUTH_TYPE_NONE;