1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source4/torture
Noel Power 39bbd40cda fix Invalid read of size 8
running rpc.dsgetinfo.DsGetReplicaInfo results in the following valgrind
trace

==14966== Invalid read of size 8
==14966==    at 0x88B2D5D: dcerpc_binding_handle_call (binding_handle.c:538)
==14966==    by 0x978F33B: dcerpc_drsuapi_DsUnbind_r (ndr_drsuapi_c.c:319)
==14966==    by 0x2E9F19: torture_dsgetinfo_tcase_teardown (dsgetinfo.c:431)
==14966==    by 0x95536EF: internal_torture_run_test (torture.c:452)
==14966==    by 0x9553A4B: torture_run_test_restricted (torture.c:542)
==14966==    by 0x260074: run_matching (smbtorture.c:110)
==14966==    by 0x25FF36: run_matching (smbtorture.c:95)
==14966==    by 0x260195: torture_run_named_tests (smbtorture.c:143)
==14966==    by 0x261E14: main (smbtorture.c:665)
==14966==  Address 0x28 is not stack'd, malloc'd or (recently) free'd
==14966==

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Apr 25 14:01:33 CEST 2016 on sn-devel-144
2016-04-25 14:01:33 +02:00
..
auth kerberos: Remove un-used event context argument from smb_krb5_init_context() 2014-04-28 02:24:57 +02:00
basic s4:torture:basic: fix 'Conditional jump or move ' valgrind error 2016-04-25 10:35:15 +02:00
dfs torture: change dfs tests now that we return a level 4 when level 4 is requested 2012-04-26 21:25:37 +02:00
dns s4-dns: dlz-bind: Add trailing '.' to all fqdn strings 2014-11-21 06:14:55 +01:00
drs Rename 'errors' to 'samba-errors' and make it public. 2016-01-13 07:47:04 +01:00
krb5 s4:torture/krb5: add a --option=torture:run_removedollar_test=true option to kdc-conon 2015-06-24 01:03:16 +02:00
ldap torture_ldap_sort: avoid segfault 2016-03-09 10:32:17 +01:00
ldb ldb torture: test ldb_unpack_data_only_attr_list 2015-12-17 03:23:21 +01:00
libnet s4:torture:libnet: fix 'Syscall param writev(vector[...])' valgrind error 2016-04-25 10:35:16 +02:00
libnetapi s4/torture/libnetapi/libnetapi_user.c: fix typo 2016-03-04 18:08:21 +01:00
libsmbclient waf: restore libsmbclient handling. 2011-09-15 15:31:59 +02:00
local util/binsearch: macro for greater than or equal search 2016-03-09 10:32:16 +01:00
man docs: remove duplicate mention of "smbtorture" in smbtorture manpage. 2013-11-19 09:52:39 +01:00
nbench dlist: remove unneeded type argument from DLIST_ADD_END() 2016-02-06 21:48:17 +01:00
nbt s4-torture: fix gcc6 build warnings. 2016-02-06 21:48:18 +01:00
ndr ntlmssp.idl: MsAvRestrictions is MsvAvSingleHost now 2016-03-10 06:52:29 +01:00
ntp s4:torture/ntp: add missing #include "torture/ntp/proto.h" 2014-04-02 09:03:45 +02:00
rap s4:torture/rap/printing: check smbcli_rap_netprintqgetinfo() WERR status 2011-12-17 01:09:32 +01:00
raw s4:torture:raw: fix 'Invalid read of size 1 & Conditional jump or move' errors. 2016-04-25 10:35:15 +02:00
rpc fix Invalid read of size 8 2016-04-25 14:01:33 +02:00
smb2 s4:torture:smb2: fix 'Use of uninitialised value of size 8' valgrind error. 2016-04-25 10:35:16 +02:00
tests selftest: Remove unused support for --exeext 2012-02-01 02:45:07 +01:00
unix lib: Convert callers of sid_blob_parse to sid_parse 2015-08-26 21:41:12 +02:00
vfs s4:torture:vfs: fix Invalid read of size 8 valgrind valgrind error (and segv) 2016-04-25 10:35:16 +02:00
winbind s4:torture/winbind: add more debug output to samba4.winbind.struct.domain_info 2015-12-14 23:26:40 +01:00
gentest.c torture/gentest time_skew(): don't use labs() on unsigned NTTIME 2015-12-24 04:09:28 +01:00
locktest.c s4:torture/locktest: comment out unused code and avoid smbcli_nt_error() 2014-11-25 07:25:46 +01:00
masktest.c s4:torture: avoid argv related const warnings 2014-04-02 09:03:45 +02:00
shell.c s4:torture/shell: simplify cli_credentials_set_password() call 2013-08-05 17:48:03 +12:00
smbtorture.c s4:torture: avoid const warnings in smbtorture.c 2014-04-02 09:03:45 +02:00
smbtorture.h
torture.c Revert making public of the samba-module library. 2011-12-03 08:36:30 +01:00
util_smb.c dlist: remove unneeded type argument from DLIST_ADD_END() 2016-02-06 21:48:17 +01:00
util.h torture: Add a new w2k12 target 2013-09-05 13:46:10 -07:00
wscript_build waf: Only build the backupkey rpc test with AD DC enabled 2016-01-22 17:47:21 +01:00