GUACAMOLE-249: Use correct start location of clipboard buffer (accidentally used pointer to end).

This commit is contained in:
Michael Jumper 2019-12-25 02:03:23 -08:00
parent bced87cff9
commit 0c7091198f

View File

@ -337,7 +337,7 @@ static UINT guac_rdp_cliprdr_format_data_request(CliprdrClientContext* cliprdr,
writer, &output, GUAC_RDP_CLIPBOARD_MAX_LENGTH);
CLIPRDR_FORMAT_DATA_RESPONSE data_response = {
.requestedFormatData = (BYTE*) output,
.requestedFormatData = (BYTE*) start,
.dataLen = ((BYTE*) output) - start
};