diff options
author | Luke Leighton <lkcl@samba.org> | 1997-10-14 19:31:07 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1997-10-14 19:31:07 +0000 |
commit | 5ca38bab498b45ce7b3e6b5b0316120224335cdb (patch) | |
tree | 60ad897e99ea1ef179e2b631b27a7ec772f5a9d8 /source3/smbparse.c | |
parent | d4605d5b951aa83ccbd7d45541524a8b79e92298 (diff) | |
download | samba-5ca38bab498b45ce7b3e6b5b0316120224335cdb.tar.gz samba-5ca38bab498b45ce7b3e6b5b0316120224335cdb.tar.bz2 samba-5ca38bab498b45ce7b3e6b5b0316120224335cdb.zip |
pipentlsa.c :
lsa close odd bug.
smbparse.c :
smb_io_dom_sid() _does_ need 4-byte alignment before it.
(This used to be commit 93879ac8a533ad8cc175275cf1fc9a8f152f4b5a)
Diffstat (limited to 'source3/smbparse.c')
-rw-r--r-- | source3/smbparse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbparse.c b/source3/smbparse.c index 855d46420a..64a0e640cb 100644 --- a/source3/smbparse.c +++ b/source3/smbparse.c @@ -71,6 +71,8 @@ char* smb_io_dom_sid(BOOL io, DOM_SID *sid, char *q, char *base, int align, int DEBUG(5,("%s%04x smb_io_dom_sid\n", tab_depth(depth), PTR_DIFF(q, base))); depth++; + q = align_offset(q, base, align); + DBG_RW_IVAL("num_auths ", depth, base, io, q, sid->num_auths); q += 4; DBG_RW_CVAL("sid_no ", depth, base, io, q, sid->sid_no); q++; DBG_RW_CVAL("num_auths ", depth, base, io, q, sid->num_auths); q++; |