diff options
Diffstat (limited to 'source4/torture/rpc/srvsvc.c')
-rw-r--r-- | source4/torture/rpc/srvsvc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/rpc/srvsvc.c b/source4/torture/rpc/srvsvc.c index 492f21e9bf..f0e332ee20 100644 --- a/source4/torture/rpc/srvsvc.c +++ b/source4/torture/rpc/srvsvc.c @@ -788,6 +788,7 @@ static BOOL test_NetNameValidate(struct dcerpc_pipe *p, again: /* Find maximum length accepted by this type */ + ZERO_STRUCT(r.out); r.in.name_type = i; r.in.name = talloc_strdup(mem_ctx, "A"); n = 0; @@ -814,7 +815,7 @@ again: /* find invalid chars for this type check only ASCII between 0x20 and 0x7e */ - invalidc = NULL; + invalidc = talloc_strdup(mem_ctx, ""); for (n = 0x20; n < 0x7e; n++) { r.in.name = talloc_asprintf(mem_ctx, "%c", (char)n); |