summaryrefslogtreecommitdiffstats
path: root/source/rpc_parse
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
commit681cbb9ec1310fa81f4da40ef0cfed92500b5f4e (patch)
tree19c7508d098adafdef2aa10fb87fb6d3514dd3a8 /source/rpc_parse
parent6947f8fac7d6d643a265fdcb56b2a390b9a9a1c0 (diff)
downloadsamba-681cbb9ec1310fa81f4da40ef0cfed92500b5f4e.tar.gz
samba-681cbb9ec1310fa81f4da40ef0cfed92500b5f4e.tar.xz
samba-681cbb9ec1310fa81f4da40ef0cfed92500b5f4e.zip
missed mem_grow_data call
Diffstat (limited to 'source/rpc_parse')
-rw-r--r--source/rpc_parse/parse_spoolss.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/rpc_parse/parse_spoolss.c b/source/rpc_parse/parse_spoolss.c
index c7d3d894d15..6b60b741476 100644
--- a/source/rpc_parse/parse_spoolss.c
+++ b/source/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);