1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-06 13:18:07 +03:00
samba-mirror/source4/librpc/tests
Stefan Metzmacher 12464bd4c2 blackbox.ndrdump: fix test_ndrdump_fuzzed_NULL_struct_ntlmssp_CHALLENGE_MESSAGE test
This actually reveals that ndr_push_string() for TargetName="" was
failing before because it resulted in 1 byte for a subcontext with
TargetLen=0.

This is fixed now and we no longer expect ndrdump to exit with 1.

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>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Mon Jan 24 16:18:34 UTC 2022 on sn-devel-184
2022-01-24 16:18:34 +00:00
..
binding_string.c
dns-decode_dns_name_packet-hex.dat
dns-decode_dns_name_packet-hex.txt blackbox.ndrdump: adjust example files to changed dump_data() output. 2022-01-24 15:25:36 +00:00
dnsp-DnssrvRpcRecord.txt selftest: Confirm parse of dnsProperty records 2019-12-20 10:09:34 +00:00
fuzzed_drsuapi_DsaAddressListItem_V1-in.b64.txt librpc ndr: Stack-overflow in ndr_pull_drsuapi_DsaAddressListItem_V1 2020-02-27 01:02:32 +00:00
fuzzed_drsuapi_DsAddEntry_1.b64.txt selftest: Add ndrdump tests for malformed drsuapi traffic 2019-12-10 02:53:34 +00:00
fuzzed_drsuapi_DsAddEntry_1.txt blackbox.ndrdump: adjust example files to the usage of dump_data_diff output. 2022-01-24 15:25:36 +00:00
fuzzed_drsuapi_DsGetNCChanges.txt blackbox.ndrdump: adjust example files to changed dump_data() output. 2022-01-24 15:25:36 +00:00
fuzzed_drsuapi_DsReplicaAttribute.b64.txt selftest: Add ndrdump tests for malformed drsuapi traffic 2019-12-10 02:53:34 +00:00
fuzzed_drsuapi_DsReplicaAttribute.txt blackbox.ndrdump: adjust example files to the usage of dump_data_diff output. 2022-01-24 15:25:36 +00:00
fuzzed_ntlmssp-AUTHENTICATE_MESSAGE.b64.txt selftest: Test repushing an ntlmssp AUTHENTICATE_MESSAGE 2019-11-20 04:41:28 +00:00
fuzzed_ntlmssp-AUTHENTICATE_MESSAGE.txt blackbox.ndrdump: adjust example files to the usage of dump_data_diff output. 2022-01-24 15:25:36 +00:00
fuzzed_ntlmssp-CHALLENGE_MESSAGE.txt blackbox.ndrdump: fix test_ndrdump_fuzzed_NULL_struct_ntlmssp_CHALLENGE_MESSAGE test 2022-01-24 16:18:34 +00:00
krb5pac_upn_dns_info_ex_not_supported.b64.txt CVE-2020-25721 ndrdump: Add tests for PAC with UPN_DNS_INFO 2021-11-09 19:45:32 +00:00
krb5pac_upn_dns_info_ex_not_supported.txt blackbox.ndrdump: adjust example files to the usage of dump_data_diff output. 2022-01-24 15:25:36 +00:00
krb5pac_upn_dns_info_ex.b64.txt CVE-2020-25721 ndrdump: Add tests for PAC with UPN_DNS_INFO 2021-11-09 19:45:32 +00:00
krb5pac_upn_dns_info_ex.txt blackbox.ndrdump: adjust example files to the usage of dump_data_diff output. 2022-01-24 15:25:36 +00:00
krb5pac-PAC_DATA.dat selftest: Add expected-output tests for the ndrdump struct mode 2019-11-13 00:32:36 +00:00
misc-GUID.dat selftest: Test fix for ndrdump of structures by number 2019-11-17 22:28:41 +00:00
samr-CreateUser-in.dat
samr-CreateUser-out.dat
xattr_NTACL.dat selftest: Add example xattr_NTACL packets to demonstrate switch/union behaviour 2019-12-12 02:30:39 +00:00
xattr_NTACL.txt selftest: Add example xattr_NTACL packets to demonstrate switch/union behaviour 2019-12-12 02:30:39 +00:00