TODO PANIC/NONE sq s4:librpc/rpc: make use of dcerpc_binding_get_string_option("endpo...
authorStefan Metzmacher <metze@samba.org>
Wed, 12 Feb 2014 09:54:42 +0000 (10:54 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 4 Jun 2019 10:43:20 +0000 (12:43 +0200)
source4/librpc/rpc/dcerpc_secondary.c

index 084413ac84c5fb281e2480dcb359de10ef345001..eb57e490c1b077f3c08a093483950b8ad1312740 100644 (file)
@@ -114,6 +114,9 @@ _PUBLIC_ struct composite_context* dcerpc_secondary_connection_send(struct dcerp
                 */
                endpoint = dcerpc_binding_get_string_option(s->pipe->binding, "endpoint");
        }
+       if (endpoint == NULL) {
+               smb_panic(__location__);
+       }
        if (endpoint == NULL) {
                composite_error(c, NT_STATUS_INVALID_PARAMETER_MIX);
                return c;