1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/librpc/ABI
Joseph Sutton 346844b730 librpc: Change type of ‘u16string’ from ‘const uint16_t *’ to ‘const unsigned char *’
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>
2023-12-21 23:48:46 +00:00
..
ndr-0.0.1.sigs
ndr-0.0.2.sigs
ndr-0.0.3.sigs
ndr-0.0.4.sigs
ndr-0.0.5.sigs
ndr-0.0.6.sigs
ndr-0.0.7.sigs
ndr-0.0.8.sigs
ndr-0.0.9.sigs librpc/ndr: add ndr_push_charset_to_null and increase library version (abi change) 2017-01-24 10:53:17 +01:00
ndr-0.1.0.sigs ndr: Use resizing array instead of linked lists (breaking ABI) 2017-03-02 08:38:21 +01:00
ndr-0.1.1.sigs preg: Using winreg_Data_GPO instead of DATA_BLOB 2018-08-16 23:42:20 +02:00
ndr-0.1.2.sigs preg: Use gensize to allow modification of winreg data to be repacked 2018-08-16 23:42:20 +02:00
ndr-0.2.0.sigs librpc:ndr: Implement ndr_zero_memory() 2019-02-14 15:59:25 +01:00
ndr-0.2.1.sigs pidl: Generate the trailing ndr_table even if the UUID is not set 2019-11-13 00:32:37 +00:00
ndr-1.0.0.sigs libndr: Return enum ndr_err_code from ndr_{pull,push}_steal_switch_value() 2019-12-12 03:56:23 +00:00
ndr-1.0.1.sigs librpc: Add GUID_to_ndr_buf() 2020-10-02 21:30:33 +00:00
ndr-1.0.2.sigs librpc: Add ndr_syntax_id_buf_string() 2021-01-28 16:58:35 +00:00
ndr-2.0.0.sigs pidl: Avoid leaving array_size NDR tokens around 2021-06-02 03:56:36 +00:00
ndr-3.0.0.sigs librpc:ndr: Update ndr_print_debug() and add macro NDR_PRINT_DEBUG_LEVEL 2022-07-15 14:25:37 +00:00
ndr-3.0.1.sigs librpc:ndr: Add ‘int64’ type 2023-08-15 18:46:33 +00:00
ndr-3.0.2.sigs libndr: Factor out ndr_pull_struct_blob_noalloc() 2023-10-04 20:31:36 +00:00
ndr-4.0.0.sigs librpc: Change type of ‘u16string’ from ‘const uint16_t *’ to ‘const unsigned char *’ 2023-12-21 23:48:46 +00:00