1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-30 08:23:49 +03:00

r649: return unknown interface when the client not yet

binds succesful to an interface

metze
This commit is contained in:
Stefan Metzmacher
2004-05-11 15:39:23 +00:00
committed by Gerald (Jerry) Carter
parent 75bca5dcfa
commit c39e450702
2 changed files with 6 additions and 0 deletions

View File

@@ -560,6 +560,11 @@ static NTSTATUS dcesrv_request(struct dcesrv_call_state *call)
DATA_BLOB stub;
uint32 total_length;
if (!call->conn->iface) {
return dcesrv_fault(call, DCERPC_FAULT_UNK_IF);
}
opnum = call->pkt.u.request.opnum;
if (opnum >= call->conn->iface->ndr->num_calls) {