git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6a8349
)
TODO PANIC/NONE sq s4:librpc/rpc: make use of dcerpc_binding_get_string_option("endpo...
author
Stefan Metzmacher
<metze@samba.org>
Wed, 12 Feb 2014 09:54:42 +0000
(10:54 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 4 Jun 2019 10:43:20 +0000
(12:43 +0200)
source4/librpc/rpc/dcerpc_secondary.c
patch
|
blob
|
history
diff --git
a/source4/librpc/rpc/dcerpc_secondary.c
b/source4/librpc/rpc/dcerpc_secondary.c
index 084413ac84c5fb281e2480dcb359de10ef345001..eb57e490c1b077f3c08a093483950b8ad1312740 100644
(file)
--- a/
source4/librpc/rpc/dcerpc_secondary.c
+++ b/
source4/librpc/rpc/dcerpc_secondary.c
@@
-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;