1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4
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
..
auth s4:auth: Clarify comment about requiring FAST armor 2023-12-21 20:21:34 +00:00
cldap_server s4:cldap_server: Add missing newline to logging message 2023-08-08 04:39:38 +00:00
client s4:client: Fix code spelling 2023-09-11 02:42:41 +00:00
cluster
dns_server Use python.h from libreplace 2023-11-20 15:37:33 +00:00
dsdb s4:dsdb: Fix code spelling 2023-12-08 02:28:33 +00:00
echo_server s4-echo: Remove the "echo" server (port 7, RFC 862) in production builds 2023-10-10 14:49:40 +00:00
include VERSION: move COPYRIGHT_STARTUP_MESSAGE as SAMBA_COPYRIGHT_STRING into version.h 2023-12-15 10:44:42 +00:00
kdc s4:kdc: Remove unused includes 2023-12-08 02:28:33 +00:00
ldap_server libcli/util: add struct tstream_context to tstream_read_pdu_blob_full_fn_t 2023-10-25 22:23:38 +00:00
lib pymessaging: Remove trailing whitespace 2023-12-08 02:28:33 +00:00
libcli s4:libcli: Fix conversion from HRESULT and WERROR to Python objects 2023-12-21 20:21:34 +00:00
libnet Use python.h from libreplace 2023-11-20 15:37:33 +00:00
librpc librpc: Change type of ‘u16string’ from ‘const uint16_t *’ to ‘const unsigned char *’ 2023-12-21 23:48:46 +00:00
nbt_server librpc/nbt: Avoid reading invalid member of union 2023-07-07 01:14:06 +00:00
ntp_signd libcli/util: add struct tstream_context to tstream_read_pdu_blob_full_fn_t 2023-10-25 22:23:38 +00:00
ntvfs s4:ntvfs: Remove trailing whitespace 2023-12-08 02:28:33 +00:00
param Use python.h from libreplace 2023-11-20 15:37:33 +00:00
rpc_server lsa4: Fix Coverity ID 1499410 2023-11-21 17:34:36 +00:00
samba VERSION: move COPYRIGHT_STARTUP_MESSAGE as SAMBA_COPYRIGHT_STRING into version.h 2023-12-15 10:44:42 +00:00
script s4:script: Fix shellcheck errors in find_unused_options.sh 2022-08-22 14:20:36 +00:00
scripting python: Remove unused parameter ‘samdb’ 2023-12-14 03:31:37 +00:00
selftest tests/krb5: Add Python implementation and tests for Group Key Distribution Service 2023-12-21 21:19:30 +00:00
setup CVE-2018-14628: s4:setup: set the correct nTSecurityDescriptor on the CN=Deleted Objects container 2023-10-16 14:39:33 +00:00
smb_server util/charset: Rename utf16_len_n() to utf16_null_terminated_len_n() 2023-11-15 22:07:36 +00:00
torture Revert "s4:torture: Increase multichannel timeout" 2023-12-08 02:28:33 +00:00
utils s4:utils: Use correct enumeration constant 2023-11-30 00:02:33 +00:00
winbind CVE-2022-32746 ldb: Make use of functions for appending to an ldb_message 2022-07-27 10:52:36 +00:00
wrepl_server libcli/util: add struct tstream_context to tstream_read_pdu_blob_full_fn_t 2023-10-25 22:23:38 +00:00
.clang_complete
.valgrind_suppressions
wscript_build s4:client: Migrate cifsdd to new cmdline option parser 2021-06-16 00:34:38 +00:00