diff options
author | Tim Potter <tpot@samba.org> | 2002-05-20 01:00:56 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-05-20 01:00:56 +0000 |
commit | 2429c4cc796576aa2d816a14b10fdd932b672a02 (patch) | |
tree | 33514130a77a63015b2123b439355b1979c65809 /source/rpc_parse/parse_spoolss.c | |
parent | 1fb8e2b3a07fdc0bb302f02a451ed32a275f0c10 (diff) | |
download | samba-2429c4cc796576aa2d816a14b10fdd932b672a02.tar.gz samba-2429c4cc796576aa2d816a14b10fdd932b672a02.tar.xz samba-2429c4cc796576aa2d816a14b10fdd932b672a02.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.
Diffstat (limited to 'source/rpc_parse/parse_spoolss.c')
-rw-r--r-- | source/rpc_parse/parse_spoolss.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/rpc_parse/parse_spoolss.c b/source/rpc_parse/parse_spoolss.c index bcfaa1d42f2..3e3ddb9a010 100644 --- a/source/rpc_parse/parse_spoolss.c +++ b/source/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; } |