diff options
author | Luke Leighton <lkcl@samba.org> | 1999-11-06 21:25:52 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-11-06 21:25:52 +0000 |
commit | 2c3fdead4d27984b1969b0f2f38bdb494647118b (patch) | |
tree | 504e63b69aef8129fe87108541e103ba2e4d9150 | |
parent | 514be1cf738e913423488b9550522e3991d11360 (diff) | |
download | samba-2c3fdead4d27984b1969b0f2f38bdb494647118b.tar.gz samba-2c3fdead4d27984b1969b0f2f38bdb494647118b.tar.bz2 samba-2c3fdead4d27984b1969b0f2f38bdb494647118b.zip |
missed mem_grow_data call
(This used to be commit 681cbb9ec1310fa81f4da40ef0cfed92500b5f4e)
-rw-r--r-- | source3/rpc_client/cli_spoolss.c | 2 | ||||
-rw-r--r-- | source3/rpc_parse/parse_spoolss.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_spoolss.c b/source3/rpc_client/cli_spoolss.c index ee76a908d0..78ec5f1d94 100644 --- a/source3/rpc_client/cli_spoolss.c +++ b/source3/rpc_client/cli_spoolss.c @@ -56,7 +56,7 @@ BOOL spoolss_enum_printers(struct cli_state *cli, uint16 fnum, DEBUG(5,("SPOOLSS Enum Printers (Server: %s level: %d)\n", servername, level)); - make_spoolss_q_enumprinters(&q_o, flags, servername, level, 0x200); + make_spoolss_q_enumprinters(&q_o, flags, servername, level, 0x800); /* turn parameters into data stream */ spoolss_io_q_enumprinters("", &q_o, &buf, 0); diff --git a/source3/rpc_parse/parse_spoolss.c b/source3/rpc_parse/parse_spoolss.c index c7d3d894d1..6b60b74147 100644 --- a/source3/rpc_parse/parse_spoolss.c +++ b/source3/rpc_parse/parse_spoolss.c @@ -1716,6 +1716,8 @@ static BOOL spoolss_io_read_buffer(char *desc, prs_struct *ps, int depth, BUFFER { return False; } + mem_grow_data(&(ps->data), ps->io, + ps->data->data_size + buffer->size, 0); prs_uint8s(True, "buffer", ps, depth, buffer->data, buffer->size); prs_align(ps); |