8d917698ea
The old implementation used `Stream_GetLength` to obtain the amount of data to send. However some PDUs (i.e. CLIPRDR_FILECONTENTS_REQUEST) are overallocated as they contain optional data (clipDataId in this case). We now use the position to determine the actual data written to the PDU instead of the amount of bytes allocated, avoid sending garbage data to the client. |
||
---|---|---|
.. | ||
client | ||
server | ||
ChannelOptions.cmake | ||
cliprdr_common.c | ||
cliprdr_common.h | ||
CMakeLists.txt |