summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-22 08:41:40 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-22 08:41:40 +0000
commit175e9475796ca7f2ba1e8efad3e6975ad0c71882 (patch)
treea0c5bcc4466d88c2ead4bc5ab9053e47d345fddb /source4/torture/rpc
parent86a604429ee13aa8c3f930ea74b1fada278ced45 (diff)
downloadsamba-175e9475796ca7f2ba1e8efad3e6975ad0c71882.tar.gz
samba-175e9475796ca7f2ba1e8efad3e6975ad0c71882.tar.bz2
samba-175e9475796ca7f2ba1e8efad3e6975ad0c71882.zip
* enable RPC/NDR validation in all smbtorture code
* allow us to distinguish between null arrays and zero length arrays, by making the allocation size a minimum of 1 on array pull (This used to be commit 11c0fe548ecfb03424f51e1354b86d4692e8f07c)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/lsa.c2
-rw-r--r--source4/torture/rpc/samr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/lsa.c b/source4/torture/rpc/lsa.c
index 9512493181..178248a49b 100644
--- a/source4/torture/rpc/lsa.c
+++ b/source4/torture/rpc/lsa.c
@@ -539,7 +539,7 @@ BOOL torture_rpc_lsa(int dummy)
return False;
}
- p->flags |= DCERPC_DEBUG_PRINT_BOTH | DCERPC_DEBUG_VALIDATE_BOTH;
+ p->flags |= DCERPC_DEBUG_PRINT_BOTH;
if (!test_OpenPolicy(p, mem_ctx)) {
ret = False;
diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c
index ef7d9300d8..07faf2c165 100644
--- a/source4/torture/rpc/samr.c
+++ b/source4/torture/rpc/samr.c
@@ -902,7 +902,7 @@ BOOL torture_rpc_samr(int dummy)
return False;
}
- p->flags |= DCERPC_DEBUG_PRINT_BOTH | DCERPC_DEBUG_VALIDATE_BOTH;
+ p->flags |= DCERPC_DEBUG_PRINT_BOTH;
if (!test_Connect(p, mem_ctx, &handle)) {
ret = False;