summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_spoolss.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/rpc_parse/parse_spoolss.c b/source3/rpc_parse/parse_spoolss.c
index c74249878a..b10a5c4377 100644
--- a/source3/rpc_parse/parse_spoolss.c
+++ b/source3/rpc_parse/parse_spoolss.c
@@ -1516,6 +1516,10 @@ BOOL spoolss_io_q_deleteprinterdriverex(char *desc, SPOOL_Q_DELETEPRINTERDRIVERE
return False;
if(!smb_io_unistr2("driver", &q_u->driver, True, ps, depth))
return False;
+
+ if (!prs_align(ps))
+ return False;
+
if(!prs_uint32("delete_flags ", ps, depth, &q_u->delete_flags))
return False;
if(!prs_uint32("version ", ps, depth, &q_u->version))