FreeRDP/winpr/libwinpr/clipboard
ilammy 458c042b53 wClipboard: track sequence numbers of file lists
One important point in the cliprdr protocol is that the peers are not
allowed to request file sizes and ranges if the clipboard content
changes. File locking should be used to gain this ability. However, our
file list is still accessible after new data is set into wClipboard.

Catch this error by storing the sequence number of the file list when it
is set and checking that it is still in effect at the time when the
client requests file sizes or ranges. There is a small chance of false
positives when the sequence number overflows, but I guess we can safely
ignore it.
2017-04-09 03:15:49 +03:00
..
test Fixed tests and dead store warnings. 2017-03-28 16:49:56 +02:00
clipboard.c wClipboard/posix: basic delegate interface 2017-04-09 03:15:49 +03:00
clipboard.h wClipboard: track sequence numbers of file lists 2017-04-09 03:15:49 +03:00
CMakeLists.txt wClipboard: local file subsystem boilerplate 2017-04-09 03:15:48 +03:00
ModuleOptions.cmake libwinpr-clipboard: initial commit 2014-10-17 15:19:05 -04:00
posix.c wClipboard: track sequence numbers of file lists 2017-04-09 03:15:49 +03:00
posix.h wClipboard: local file subsystem boilerplate 2017-04-09 03:15:48 +03:00
synthetic.c ctest for int format specifiers and usage doc 2016-12-16 14:20:30 +01:00