mirror of
https://github.com/samba-team/samba.git
synced 2025-02-08 05:57:51 +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 used to be commit daaee86d1441afec9915e5f2ffc10b200a1ff564)
This commit is contained in:
parent
984e71e5e5
commit
2d5ca36872
@ -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…
x
Reference in New Issue
Block a user