summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-05-20 01:00:56 +0000
committerTim Potter <tpot@samba.org>2002-05-20 01:00:56 +0000
commit622ed701a52899b84fbce7e8e4cceab51b039dd2 (patch)
tree46e3aabda679f03a881d45d68f3321424c9d7f97 /source3/rpc_parse
parent077566a20054384c5568a3147e2d4e22defb9014 (diff)
downloadsamba-622ed701a52899b84fbce7e8e4cceab51b039dd2.tar.gz
samba-622ed701a52899b84fbce7e8e4cceab51b039dd2.tar.bz2
samba-622ed701a52899b84fbce7e8e4cceab51b039dd2.zip
There's probably a pointer to a buffer at the end of a enumprinterdrivers()
rpc call which we currently don't parse - just added a comment about it for the moment as not parsing it is harmless. (This used to be commit 2429c4cc796576aa2d816a14b10fdd932b672a02)
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 bcfaa1d42f..3e3ddb9a01 100644
--- a/source3/rpc_parse/parse_spoolss.c
+++ b/source3/rpc_parse/parse_spoolss.c
@@ -4261,6 +4261,10 @@ BOOL spoolss_io_q_enumprinterdrivers(char *desc, SPOOL_Q_ENUMPRINTERDRIVERS *q_u
if (!prs_uint32("offered", ps, depth, &q_u->offered))
return False;
+ /* According to MSDN there is another [in] parameter for this rpc
+ which could be a pointer to a buffer. NT4 puts four zero bytes
+ here which we currently don't parse. -tpot */
+
return True;
}