FreeRDP/channels/cliprdr
Martin Fleisz 8d917698ea cliprdr: Fix sending of server-side PDUs
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.
2023-01-09 07:47:17 +01:00
..
client [channel,cliprdr] log debug information 2022-12-03 10:53:18 +01:00
server cliprdr: Fix sending of server-side PDUs 2023-01-09 07:47:17 +01:00
ChannelOptions.cmake channels/cliprdr: start server-side implementation 2013-08-16 16:46:47 -04:00
cliprdr_common.c Fixed Wshadow warnings 2022-12-09 15:58:26 +01:00
cliprdr_common.h Reformatted to new style 2019-11-07 10:53:54 +01:00
CMakeLists.txt channels/cliprdr: start server-side implementation 2013-08-16 16:46:47 -04:00