1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/librpc/ndr
Douglas Bagnall 536a84935c ndr_orpc: properly allocate empty DUALSTRINGARRAY
When there is no data we still need to allocate for the terminating NULL.

Found by Michael Hanselmann using Honggfuzz and an fuzzer for Samba's
NDR layer.

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

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2019-11-20 04:41:28 +00:00
..
libndr.h ndr: Include the caller location in ndr_{pull,push}_error() messages 2019-11-19 14:47:46 +00:00
ndr_auth.c
ndr_auth.h
ndr_backupkey.c librpc:ndr: Initialize inblob 2018-11-14 05:07:15 +01:00
ndr_backupkey.h
ndr_basic.c librpc/ndr: clang: Fix Assigned value is garbage or undefined warning 2019-06-11 12:10:17 +00:00
ndr_bkupblobs.c
ndr_cab.c
ndr_cab.h
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.c
ndr_dns.h
ndr_dnsp.c
ndr_dnsp.h
ndr_dnsserver.c
ndr_dnsserver.h
ndr_drsblobs.c
ndr_drsblobs.h
ndr_drsuapi.c
ndr_drsuapi.h
ndr_frsrpc.c
ndr_frsrpc.h
ndr_ioctl.c
ndr_krb5pac.c
ndr_krb5pac.h
ndr_misc.c ndr_misc: read syntax_id using strict util_str_hex functions 2018-05-31 01:57:16 +02:00
ndr_nbt.c librpc/ndr: add ndr_print_netlogon_samlogon_response() 2019-09-26 18:41:26 +00:00
ndr_nbt.h librpc/ndr: add ndr_print_netlogon_samlogon_response() 2019-09-26 18:41:26 +00:00
ndr_negoex.c
ndr_negoex.h build: Get rid of hardcoded 'bin/default' in includes 2019-02-08 08:51:19 +01:00
ndr_netlogon.c
ndr_netlogon.h
ndr_ntlmssp.c
ndr_ntlmssp.h
ndr_ntprinting.c
ndr_ntprinting.h
ndr_orpc.c ndr_orpc: properly allocate empty DUALSTRINGARRAY 2019-11-20 04:41:28 +00:00
ndr_preg.c
ndr_preg.h
ndr_rap.c
ndr_rap.h
ndr_schannel.c
ndr_schannel.h
ndr_sec_helper.c Spelling fixes s/ upto / up to / 2019-09-01 22:21:27 +00:00
ndr_spoolss_buf.c ndr_spoolss_buf: fix out of scope use of stack variable in NDR_SPOOLSS_PUSH_ENUM_OUT() 2019-03-06 03:16:14 +00:00
ndr_spoolss_buf.h
ndr_string.c librpc/ndr: make push_charset_to_null UTF-16 safe (CID 1399648) 2019-05-09 22:39:27 +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 ndr: Include the caller location in ndr_{pull,push}_error() messages 2019-11-19 14:47:46 +00:00
util.c librpc:ndr: Implement ndr_zero_memory() 2019-02-14 15:59:25 +01:00
uuid.c ndr: Init variables of GUID_from_data_blob() 2018-10-19 23:11:26 +02:00