mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
r20323: allow empty dcerpc reqeusts, this fixes the RPC-COUNTCALLS test
metze
This commit is contained in:
parent
202645e196
commit
bbd086f2ed
@ -939,7 +939,7 @@ static struct rpc_request *dcerpc_request_send(struct dcerpc_pipe *p,
|
||||
req->opnum = opnum;
|
||||
req->request_data.length = stub_data->length;
|
||||
req->request_data.data = talloc_reference(req, stub_data->data);
|
||||
if (req->request_data.data == NULL) {
|
||||
if (req->request_data.length && req->request_data.data == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user