mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
parent
951de68721
commit
6610327770
@ -1936,7 +1936,9 @@ bool send_mailslot(bool unique, const char *mailslot,char *buf, size_t len,
|
||||
DEBUG(0, ("send_mailslot: Cannot write beyond end of packet\n"));
|
||||
return False;
|
||||
} else {
|
||||
memcpy(p2,buf,len);
|
||||
if (len) {
|
||||
memcpy(p2,buf,len);
|
||||
}
|
||||
p2 += len;
|
||||
}
|
||||
|
||||
|
@ -267,7 +267,7 @@ static void nmbd_proxy_logon_done(struct tevent_req *subreq)
|
||||
tevent_req_callback_data(subreq,
|
||||
struct nmbd_proxy_logon_state);
|
||||
NTSTATUS status;
|
||||
DATA_BLOB response;
|
||||
DATA_BLOB response = data_blob_null;
|
||||
|
||||
status = cldap_netlogon_recv(subreq, NULL, state, &state->io);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
|
Loading…
Reference in New Issue
Block a user