summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-08 06:49:00 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-08 06:49:00 +0000
commita813f38e2dc894b548c23dea2bef98cef7d4f4e9 (patch)
tree1644c23d26b8a94fa3d8a7994654671c7e0f88f9 /source3/utils
parent788263ba2f749c5bb1546ca6c9363fd508e94280 (diff)
downloadsamba-a813f38e2dc894b548c23dea2bef98cef7d4f4e9.tar.gz
samba-a813f38e2dc894b548c23dea2bef98cef7d4f4e9.tar.bz2
samba-a813f38e2dc894b548c23dea2bef98cef7d4f4e9.zip
- don't generate 0 params in torture
- handle 0 params in ipc.c (This used to be commit c0dc8e87f0d56444a8ddff0817a94065ca295847)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/torture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/torture.c b/source3/utils/torture.c
index 94c94966df..fb320e8b66 100644
--- a/source3/utils/torture.c
+++ b/source3/utils/torture.c
@@ -623,7 +623,7 @@ static void run_randomipc(void)
for (i=0;i<1000;i++) {
api = sys_random() % 500;
- param_len = sys_random() % 64;
+ param_len = (sys_random() % 64) + 4;
rand_buf(param, param_len);