diff options
Diffstat (limited to 'source4/torture/rpc/spoolss.c')
-rw-r--r-- | source4/torture/rpc/spoolss.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c index fef95bd2b0..db7d5ab566 100644 --- a/source4/torture/rpc/spoolss.c +++ b/source4/torture/rpc/spoolss.c @@ -3719,6 +3719,13 @@ static bool test_SetPrinterDataEx_matrix(struct torture_context *tctx, s = 0xffff; } + if (torture_setting_bool(tctx, "samba3", false)) { + if ((types[t] == REG_MULTI_SZ) && s == 0) { + torture_warning(tctx, "samba3 does not handle 4 byte emtpy REG_MULTI_SZ buffers"); + continue; + } + } + switch (types[t]) { case REG_BINARY: data = blob; |