diff options
author | Gerald Carter <jerry@samba.org> | 2001-12-13 17:16:41 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2001-12-13 17:16:41 +0000 |
commit | afb9bc0f3896957be69d56c60c49657c3a33b46b (patch) | |
tree | 20fe5e37aebdc010afeb33ffc15c962e954d6723 | |
parent | 11c7be3a4248da616547390d0a84d487ec7df75a (diff) | |
download | samba-afb9bc0f3896957be69d56c60c49657c3a33b46b.tar.gz samba-afb9bc0f3896957be69d56c60c49657c3a33b46b.tar.xz samba-afb9bc0f3896957be69d56c60c49657c3a33b46b.zip |
alignment issues in EnumPrinterKey()
-rw-r--r-- | source/rpc_parse/parse_spoolss.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/rpc_parse/parse_spoolss.c b/source/rpc_parse/parse_spoolss.c index 4adc4203a34..7e52c6d3636 100644 --- a/source/rpc_parse/parse_spoolss.c +++ b/source/rpc_parse/parse_spoolss.c @@ -6299,6 +6299,9 @@ BOOL spoolss_io_r_enumprinterkey(char *desc, SPOOL_R_ENUMPRINTERKEY *r_u, prs_st if (!smb_io_buffer5("", &r_u->keys, ps, depth)) return False; + + if(!prs_align(ps)) + return False; if(!prs_uint32("needed", ps, depth, &r_u->needed)) return False; |