1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/librpc/ndr
Stefan Metzmacher 7734584c4f librpc/ndr: let ndr_push_string() let s_len == 0 result in d_len = 0
convert_string_talloc_handle() tries to play an the safe side
and always returns a null terminated array.

But for NDR we need to be correct on the wire...

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14956

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 43648e95a5)
2022-01-30 10:57:11 +00:00
..
libndr.h pidl: Avoid leaving array_size NDR tokens around 2021-06-02 03:56:36 +00:00
ndr_auth.c
ndr_auth.h
ndr_backupkey.c
ndr_backupkey.h
ndr_basic.c libndr: Return error code from ndr_token_peek() 2021-06-02 03:56:36 +00:00
ndr_bkupblobs.c
ndr_cab.c librpc/ndr: Remove unused ndr_cab_generate_checksum() 2019-11-29 00:44:40 +00:00
ndr_cab.h librpc/ndr: Remove unused ndr_cab_generate_checksum() 2019-11-29 00:44:40 +00:00
ndr_compression.c librpc/ndr/ndr_compression.c: typo fixes 2019-10-31 00:43:36 +00:00
ndr_compression.h
ndr_dcerpc.c
ndr_dcerpc.h
ndr_dns_utils.c CVE-2020-10745: ndr/dns-utils: prepare for NBT compatibility 2020-07-02 09:01:41 +00:00
ndr_dns_utils.h CVE-2020-10745: ndr/dns-utils: prepare for NBT compatibility 2020-07-02 09:01:41 +00:00
ndr_dns.c CVE-2020-10745: ndr/dns-utils: prepare for NBT compatibility 2020-07-02 09:01:41 +00:00
ndr_dns.h
ndr_dnsp.c librpc: Do not access name[-1] trying to push "" into a dnsp_name 2019-12-20 11:33:52 +00:00
ndr_dnsp.h
ndr_dnsserver.c
ndr_dnsserver.h
ndr_drsblobs.c
ndr_drsblobs.h
ndr_drsuapi.c librpc: Fix manually written printer for drsuapi_DsAttributeValue 2019-12-18 06:39:26 +00:00
ndr_drsuapi.h
ndr_frsrpc.c
ndr_frsrpc.h
ndr_ioctl.c
ndr_krb5pac.c CVE-2020-25721 krb5pac: Add new buffers for samAccountName and objectSID 2021-11-09 19:45:32 +00:00
ndr_krb5pac.h
ndr_misc.c lib: Simplify parse_guid_string() and ndr_syntax_id_from_string() 2021-01-28 16:58:35 +00:00
ndr_nbt.c CVE-2020-10745: ndr/dns-utils: prepare for NBT compatibility 2020-07-02 09:01:41 +00:00
ndr_nbt.h
ndr_negoex.c pidl: Avoid leaving array_size NDR tokens around 2021-06-02 03:56:36 +00:00
ndr_negoex.h
ndr_netlogon.c
ndr_netlogon.h
ndr_ntlmssp.c pidl: Add and use ndr_print_steal_switch_value(), removing ndr_print_get_switch_value() 2019-12-12 02:30:40 +00:00
ndr_ntlmssp.h
ndr_ntprinting.c
ndr_ntprinting.h
ndr_ODJ.c librpc: add custom odj_switch_level_from_guid() 2021-07-14 16:49:29 +00:00
ndr_ODJ.h librpc: add custom odj_switch_level_from_guid() 2021-07-14 16:49:29 +00:00
ndr_orpc.c ndr_orpc: properly allocate empty DUALSTRINGARRAY 2019-11-20 04:41:28 +00:00
ndr_preg.c
ndr_preg.h
ndr_private.h selftest: Add test of NDR marshalling from python, starting with wbint 2021-06-02 03:56:36 +00:00
ndr_rap.c
ndr_rap.h
ndr_schannel.c pidl: Add and use ndr_print_steal_switch_value(), removing ndr_print_get_switch_value() 2019-12-12 02:30:40 +00:00
ndr_schannel.h
ndr_sec_helper.c librpc: Set the switch_value before NDR_BUFFERS to prepare for new libndr behaviour 2019-12-12 02:30:40 +00:00
ndr_spoolss_buf.c pidl: Avoid leaving array_size NDR tokens around 2021-06-02 03:56:36 +00:00
ndr_spoolss_buf.h librpc: pidlify spoolss_EnumPerMachineConnections 2020-01-08 23:51:31 +00:00
ndr_string.c librpc/ndr: let ndr_push_string() let s_len == 0 result in d_len = 0 2022-01-30 10:57:11 +00:00
ndr_svcctl.c
ndr_svcctl.h
ndr_table.c librpc: Do not return an NDR table for a zero GUID 2019-11-14 08:01:43 +00:00
ndr_table.h
ndr_witness.c
ndr_witness.h
ndr_wmi.c
ndr_wmi.h
ndr_xattr.c
ndr_xattr.h
ndr.c pidl: Avoid leaving array_size NDR tokens around 2021-06-02 03:56:36 +00:00
util.c
uuid.c librpc: Simplify GUID_hexstring() 2021-08-24 17:32:28 +00:00