diff options
author | Stefan Metzmacher <metze@samba.org> | 2016-09-24 02:24:11 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2016-10-26 11:20:18 +0200 |
commit | 47d89002a4c30e50e3efaced689dd87edbbafa9a (patch) | |
tree | 67c496acc8b52437b7043971d4b82dbd42468626 /librpc | |
parent | 4dd06fb721940ff2c7efab361da91de2fb40891f (diff) | |
download | samba-47d89002a4c30e50e3efaced689dd87edbbafa9a.tar.gz |
librpc/rpc: verify the passed table against the table on the handle
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>
Diffstat (limited to 'librpc')
-rw-r--r-- | librpc/rpc/binding_handle.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/librpc/rpc/binding_handle.c b/librpc/rpc/binding_handle.c index 4c9469515e3..41675e10360 100644 --- 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); |