mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
346844b730
A u16string is supposed to contain UTF‐16 code units, but ndr_pull_u16string() and ndr_push_u16string() fail to correctly ensure this on big‐endian systems. Code that relies on the u16string array containing correct values will then fail. Fix ndr_pull_u16string() and ndr_push_u16string() to work on big‐endian systems, ensuring that other code can use these strings without having to worry about first encoding them to little‐endian. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> |
||
---|---|---|
.. | ||
test_ndr_dns_nbt.c | ||
test_ndr_gmsa.c | ||
test_ndr_macros.c | ||
test_ndr_string.c | ||
test_ndr.c |