summaryrefslogtreecommitdiff
path: root/source/rpc_parse/parse_prs.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-11-12 19:21:20 +0000
committerLuke Leighton <lkcl@samba.org>1998-11-12 19:21:20 +0000
commit7466c3113ef8f8a89b8496efadfeb611c9f3e069 (patch)
treedd8dccca5e1c41e7306f081fff92ac1da20e794a /source/rpc_parse/parse_prs.c
parente3fc90d0b5b21d49615c951a475d85f15fa01271 (diff)
downloadsamba-7466c3113ef8f8a89b8496efadfeb611c9f3e069.tar.gz
jean-f. sent me some S-1-3-0,1,2,3 SIDs and names. S-1-3 doesn't exist.
security descriptor testing. hey wow, you can get a SD then send it back!
Diffstat (limited to 'source/rpc_parse/parse_prs.c')
-rw-r--r--source/rpc_parse/parse_prs.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/source/rpc_parse/parse_prs.c b/source/rpc_parse/parse_prs.c
index 8df7d06a396..75432627ab8 100644
--- a/source/rpc_parse/parse_prs.c
+++ b/source/rpc_parse/parse_prs.c
@@ -366,22 +366,16 @@ BOOL prs_uint32_pre(char *name, prs_struct *ps, int depth, uint32 *data32, uint3
does nothing on reading, as that is already handled by ...._pre()
********************************************************************/
BOOL prs_uint32_post(char *name, prs_struct *ps, int depth, uint32 *data32,
- uint32 ptr_uint32, uint32 start_offset)
+ uint32 ptr_uint32, uint32 data_size)
{
if (!ps->io)
{
/* storing: go back and do a retrospective job. i hate this */
- uint32 data_size = ps->offset - start_offset;
uint32 old_offset = ps->offset;
-
ps->offset = ptr_uint32;
prs_uint32(name, ps, depth, &data_size);
ps->offset = old_offset;
}
- else
- {
- ps->offset = start_offset + (*data32);
- }
return True;
}