FreeRDP/FreeRDP — pull request #1873 by hardening (2014-05-28 15:08:13+00:00)
Title: Don't use NULL for pWrittenBytes when calling WTSVirtualChannelWrite()

Nothing in the MSDN API says that setting NULL is safe. And if the implementation uses WriteFile() directly, it crashes.