diff options
author | Luke Leighton <lkcl@samba.org> | 1998-11-12 19:21:20 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-11-12 19:21:20 +0000 |
commit | 597c5a6caa871b724ee1337f14467950b0707b34 (patch) | |
tree | 5e32ee8e5887ad0a650721b592b8364d2b1bd98c /source3/rpc_parse/parse_misc.c | |
parent | 7e71258563a8d34eb1fa1a67e27d7339510bffc9 (diff) | |
download | samba-597c5a6caa871b724ee1337f14467950b0707b34.tar.gz samba-597c5a6caa871b724ee1337f14467950b0707b34.tar.bz2 samba-597c5a6caa871b724ee1337f14467950b0707b34.zip |
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!
(This used to be commit 7466c3113ef8f8a89b8496efadfeb611c9f3e069)
Diffstat (limited to 'source3/rpc_parse/parse_misc.c')
-rw-r--r-- | source3/rpc_parse/parse_misc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/rpc_parse/parse_misc.c b/source3/rpc_parse/parse_misc.c index 9d5620bbf0..4c387e0628 100644 --- a/source3/rpc_parse/parse_misc.c +++ b/source3/rpc_parse/parse_misc.c @@ -319,15 +319,14 @@ void smb_io_hdrbuf_pre(char *desc, BUFHDR *hdr, prs_struct *ps, int depth, uint does nothing on reading, as that is already handled by ...._pre() ********************************************************************/ void smb_io_hdrbuf_post(char *desc, BUFHDR *hdr, prs_struct *ps, int depth, - uint32 ptr_hdrbuf, uint32 start_offset) + uint32 ptr_hdrbuf, uint32 max_len, uint32 len) { if (!ps->io) { /* storing: go back and do a retrospective job. i hate this */ - int data_size = ps->offset - start_offset; uint32 old_offset = ps->offset; - make_buf_hdr(hdr, data_size, data_size); + make_buf_hdr(hdr, max_len, len); ps->offset = ptr_hdrbuf; smb_io_hdrbuf(desc, hdr, ps, depth); ps->offset = old_offset; |