
Clipboard formats containing plain text are specified to be terminated by a \0 character in MS's documentation on standard clipboard formats: https://docs.microsoft.com/en-us/windows/desktop/dataxchg/standard-clipboard-formats xf_cliprdr_server_format_data_response receives pasted data from the server to transfer to the client, in a sufficiently raw form that the \0 terminator is still present, so it has to remove it. It does so by checking only at the very end of the data. But I've observed that when pasting out of at least one Windows program (namely Outlook 1903 on Windows 10), the intended paste data arrives in this function followed by \0 and then a spurious \n. In that situation the null-terminator removal will fail to notice the \0, and will leave both bogus characters on the end of the paste. Fixed by using memchr to find the _first_ \0 in the paste data, which should not lose any actually intentional data because it's in accordance with the spec above.
…
FreeRDP#5329 if using OldLicenseBehaviour, don't try to save the Cal since we're not going to try to load it (#5330)
…
FreeRDP: A Remote Desktop Protocol Implementation ================================================= FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Enjoy the freedom of using your software wherever you want, the way you want it, in a world where interoperability can finally liberate your computing experience. Resources --------- Project website: https://www.freerdp.com/ Issue tracker: https://github.com/FreeRDP/FreeRDP/issues Sources: https://github.com/FreeRDP/FreeRDP/ Downloads: https://pub.freerdp.com/releases/ Wiki: https://github.com/FreeRDP/FreeRDP/wiki API documentation: https://pub.freerdp.com/api/ IRC channel: #freerdp @ irc.freenode.net Mailing list: https://lists.sourceforge.net/lists/listinfo/freerdp-devel Microsoft Open Specifications ----------------------------- Information regarding the Microsoft Open Specifications can be found at: http://www.microsoft.com/openspecifications/ A list of reference documentation is maintained here: https://github.com/FreeRDP/FreeRDP/wiki/Reference-Documentation Compilation ----------- Instructions on how to get started compiling FreeRDP can be found on the wiki: https://github.com/FreeRDP/FreeRDP/wiki/Compilation
Description
Languages
C
87.6%
C++
3.3%
CMake
3.2%
Objective-C
2.7%
Java
1.9%
Other
1.2%