1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

libcli/smb: Fix compiler errors when building with --address-sanitizer

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
This commit is contained in:
Andrew Bartlett 2016-06-07 15:42:15 +12:00 committed by Garming Sam
parent afcb2b8d31
commit 9dcf1d4826

View File

@ -3501,8 +3501,8 @@ static NTSTATUS smb2cli_conn_dispatch_incoming(struct smbXcli_conn *conn,
{ {
struct tevent_req *req; struct tevent_req *req;
struct smbXcli_req_state *state = NULL; struct smbXcli_req_state *state = NULL;
struct iovec *iov; struct iovec *iov = NULL;
int i, num_iov; int i, num_iov = 0;
NTSTATUS status; NTSTATUS status;
bool defer = true; bool defer = true;
struct smbXcli_session *last_session = NULL; struct smbXcli_session *last_session = NULL;