mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
r2301: add a server side warning when we receive more RPC data than we
expect. It isn't an error as w2k3 does this on its first packet when NTLM2 signing is used.
This commit is contained in:
parent
73e087f11e
commit
daaee86d14
@ -629,6 +629,12 @@ static NTSTATUS dcesrv_request(struct dcesrv_call_state *call)
|
||||
return dcesrv_fault(call, DCERPC_FAULT_NDR);
|
||||
}
|
||||
|
||||
if (pull->offset != pull->data_size) {
|
||||
DEBUG(3,("Warning: %d extra bytes in incoming RPC request\n",
|
||||
pull->data_size - pull->offset));
|
||||
dump_data(10, pull->data+pull->offset, pull->data_size - pull->offset);
|
||||
}
|
||||
|
||||
call->fault_code = 0;
|
||||
|
||||
/* call the dispatch function */
|
||||
|
Loading…
Reference in New Issue
Block a user