1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00
samba-mirror/source4/librpc/rpc
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
..
dcerpc_auth.c s4:librpc: Fix code spelling 2023-08-08 04:39:37 +00:00
dcerpc_connect.c librpc: Add a pair of {} 2022-10-27 18:18:36 +00:00
dcerpc_roh_channel_in.c s4:librpc/rpc: Use generic roh_connect_channel_send/recv 2019-08-07 14:12:40 +00:00
dcerpc_roh_channel_out.c s4:librpc: Add missing newline to logging message 2023-08-08 04:39:38 +00:00
dcerpc_roh.c librpc: Fix CID 1452292 Null pointer dereferences (REVERSE_INULL) 2019-08-14 07:39:38 +00:00
dcerpc_roh.h s4:librpc/rpc: use http_connect_send/recv in ncacn_http 2019-08-07 12:54:40 +00:00
dcerpc_schannel.c s4:librpc: Fix code spelling 2023-10-25 22:23:37 +00:00
dcerpc_secondary.c libnet: Remove unused source4/libnet/libnet_sam{dump,sync}: 2019-05-06 07:11:51 +00:00
dcerpc_smb.c Add dcerpc_transport_encrypted() 2020-11-06 10:02:35 +00:00
dcerpc_sock.c s4:librpc: raise log level for failed connection attempts 2022-01-23 12:51:44 +00:00
dcerpc_util.c librpc: Align integer types 2022-10-27 18:18:36 +00:00
dcerpc.c librpc:ndr: Introduce ‘ndr_flags_type’ type 2023-11-01 20:10:45 +00:00
dcerpc.h s4:librpc: Fix code spelling 2023-08-14 21:45:29 +00:00
dcerpc.py python: samba.dcerpc: Port RPC related stuff to Python 3 2017-03-10 07:31:11 +01:00
pyrpc_util.c librpc: Change type of ‘u16string’ from ‘const uint16_t *’ to ‘const unsigned char *’ 2023-12-21 23:48:46 +00:00
pyrpc_util.h librpc: Change type of ‘u16string’ from ‘const uint16_t *’ to ‘const unsigned char *’ 2023-12-21 23:48:46 +00:00
pyrpc.c Use python.h from libreplace 2023-11-20 15:37:33 +00:00
pyrpc.h dcerpc.idl: Use simple boolean value instead of flag 2023-11-01 20:10:45 +00:00