Debian Patches

Status for freerdp3/3.33.1+dfsg-3

Patch Description Author Forwarded Bugs Origin Last update
winpr-ndr-store-the-decoded-WCHAR-in-UTF-16LE.patch [winpr,ndr] store the decoded WCHAR in UTF-16LE
WinPR WCHAR strings are UTF-16LE in memory whatever the byte order of the
host, but the NDR decoder stored the characters as host UINT16: on big
endian hosts the strings decoded by rdpear (client name, realm) were byte
swapped, which made TestNdrEar and TestRdpearMessages fail on s390x.

* winpr_ndr_decoder_read_wchar() stores the character in UTF-16LE, the new
winpr_ndr_encoder_write_wchar() does the reverse;
* add the wchar message type and its conformant / varying arrays, to use
for strings instead of the uint16 arrays;
* the [string] wchar_t* codec uses them;
* RPC_UNICODE_STRING.Buffer is read as a wchar varying array.

TestNdrBasic checks the in-memory bytes of the decoded WCHAR for both
data representations.
David Fort <contact@hardening-consulting.com> no 2026-11-05

All known versions for source package 'freerdp3'

Links