From: Ralph Boehme Date: Thu, 21 Jun 2018 10:44:42 +0000 (+0200) Subject: smbd: fix a long line in smb2_query_directory_next_entry() X-Git-Tag: ldb-1.5.0~141 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e1d11eebd72bc28b733fb76107a43facb76c492;p=thirdparty%2Fsamba.git smbd: fix a long line in smb2_query_directory_next_entry() Signed-off-by: Ralph Boehme Reviewed-by: Stefan Metzmacher --- diff --git a/source3/smbd/smb2_query_directory.c b/source3/smbd/smb2_query_directory.c index 6577ab81eaa..1a7137ce879 100644 --- a/source3/smbd/smb2_query_directory.c +++ b/source3/smbd/smb2_query_directory.c @@ -576,13 +576,14 @@ static bool smb2_query_directory_next_entry(struct tevent_req *req) if (state->async_ask_sharemode) { struct tevent_req *subreq = NULL; + char *buf = state->base_data + state->last_entry_off; subreq = fetch_write_time_send(state, state->ev, state->fsp->conn, file_id, state->info_level, - state->base_data + state->last_entry_off, + buf, &stop); if (tevent_req_nomem(subreq, req)) { return true;