1
0
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:
Stefan Metzmacher 2006-12-22 18:22:40 +00:00 committed by Gerald (Jerry) Carter
parent 202645e196
commit bbd086f2ed

View File

@ -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;
}