summaryrefslogtreecommitdiff
path: root/librpc/idl
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-12-12 02:52:41 +0100
committerGünther Deschner <gd@samba.org>2009-12-14 10:39:34 +0100
commite316624ddb8d4e178b03b315bfafd793e6c297c8 (patch)
tree9ca063db63742640ae309741494df3f1c616b9d8 /librpc/idl
parent5ae61cfbc281f346fd3712a975c5796f9cfbc6c2 (diff)
downloadsamba-e316624ddb8d4e178b03b315bfafd793e6c297c8.tar.gz
samba-e316624ddb8d4e178b03b315bfafd793e6c297c8.tar.bz2
samba-e316624ddb8d4e178b03b315bfafd793e6c297c8.zip
spoolss: fix spoolss_PrinterData size calculation.
Currently we were crashing in EnumPrinterDataEx when an e.g. an empty (NULL) string for a separator file was returned. Guenther
Diffstat (limited to 'librpc/idl')
-rw-r--r--librpc/idl/spoolss.idl2
1 files changed, 1 insertions, 1 deletions
diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl
index 14ddba8173..1695c5a8cc 100644
--- a/librpc/idl/spoolss.idl
+++ b/librpc/idl/spoolss.idl
@@ -1524,7 +1524,7 @@ import "misc.idl", "security.idl", "winreg.idl";
uint8 reserved;
} spoolss_OSVersionEx;
- typedef [nodiscriminant,public,gensize] union {
+ typedef [nodiscriminant,public] union {
[case(REG_NONE)];
[case(REG_SZ)] nstring string;
[case(REG_BINARY),flag(NDR_REMAINING)] DATA_BLOB binary;