summaryrefslogtreecommitdiff
path: root/source3/rpc_parse/parse_spoolss.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-11-06 21:25:52 +0000
committerLuke Leighton <lkcl@samba.org>1999-11-06 21:25:52 +0000
commit2c3fdead4d27984b1969b0f2f38bdb494647118b (patch)
tree504e63b69aef8129fe87108541e103ba2e4d9150 /source3/rpc_parse/parse_spoolss.c
parent514be1cf738e913423488b9550522e3991d11360 (diff)
downloadsamba-2c3fdead4d27984b1969b0f2f38bdb494647118b.tar.gz
samba-2c3fdead4d27984b1969b0f2f38bdb494647118b.tar.bz2
samba-2c3fdead4d27984b1969b0f2f38bdb494647118b.zip
missed mem_grow_data call
(This used to be commit 681cbb9ec1310fa81f4da40ef0cfed92500b5f4e)
Diffstat (limited to 'source3/rpc_parse/parse_spoolss.c')
-rw-r--r--source3/rpc_parse/parse_spoolss.c2
1 files changed, 2 insertions, 0 deletions
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);