mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
s3:smbd: only setup the dyn iovec if a a dyn blob is given
Otherwise leave the default in there, which takes care of padding for compounded requests. metze
This commit is contained in:
parent
a3e328859b
commit
014ee5d0c2
@ -663,8 +663,7 @@ NTSTATUS smbd_smb2_request_done_ex(struct smbd_smb2_request *req,
|
||||
req->out.vector[i+2].iov_base = (void *)dyn->data;
|
||||
req->out.vector[i+2].iov_len = dyn->length;
|
||||
} else {
|
||||
req->out.vector[i+2].iov_base = (void *)outdyn;
|
||||
req->out.vector[i+2].iov_len = 1;
|
||||
/* the dyn section is already initialized */
|
||||
}
|
||||
} else {
|
||||
req->out.vector[i+2].iov_base = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user