summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rpc/spoolss.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c
index 12dc8240cf..af7e9e96e0 100644
--- a/source4/torture/rpc/spoolss.c
+++ b/source4/torture/rpc/spoolss.c
@@ -5026,6 +5026,10 @@ static bool test_SetPrinterDataEx_matrix(struct torture_context *tctx,
torture_warning(tctx, "samba3 does not handle 4 byte emtpy REG_MULTI_SZ buffers");
continue;
}
+ if ((types[t] == REG_BINARY) && s == 0) {
+ torture_warning(tctx, "samba3 does not handle emtpy REG_BINARY buffers");
+ continue;
+ }
}
switch (types[t]) {