git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dd06fb
)
librpc/rpc: verify the passed table against the table on the handle
author
Stefan Metzmacher
<metze@samba.org>
Sat, 24 Sep 2016 00:24:11 +0000
(
02:24
+0200)
committer
Andreas Schneider
<asn@cryptomilk.org>
Wed, 26 Oct 2016 09:20:18 +0000
(11:20 +0200)
Now that all callers of dcerpc_binding_handle_create() are fixed.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
librpc/rpc/binding_handle.c
patch
|
blob
|
history
diff --git
a/librpc/rpc/binding_handle.c
b/librpc/rpc/binding_handle.c
index 4c9469515e32482a578a2058dc2970f679f003c1..41675e103607b2502a8424ed794bda9f9a653fb1 100644
(file)
--- a/
librpc/rpc/binding_handle.c
+++ b/
librpc/rpc/binding_handle.c
@@
-373,12
+373,10
@@
struct tevent_req *dcerpc_binding_handle_call_send(TALLOC_CTX *mem_ctx,
return NULL;
}
-#if 0 /* TODO: activate this when the callers are fixed */
if (table != h->table) {
tevent_req_nterror(req, NT_STATUS_INVALID_HANDLE);
return tevent_req_post(req, ev);
}
-#endif
if (opnum >= table->num_calls) {
tevent_req_nterror(req, NT_STATUS_INTERNAL_ERROR);