summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-09-14 21:42:49 +0000
committerLuke Leighton <lkcl@samba.org>1999-09-14 21:42:49 +0000
commit29ba13f6ea23d9f45bd5d73300c5e208476479db (patch)
treeaf2098e13629177c7ff2fcced28dd576fb71f183 /source3/rpc_parse
parent7e1e6de11a60aeb1449118c6dc93c1b76e049f7b (diff)
downloadsamba-29ba13f6ea23d9f45bd5d73300c5e208476479db.tar.gz
samba-29ba13f6ea23d9f45bd5d73300c5e208476479db.tar.bz2
samba-29ba13f6ea23d9f45bd5d73300c5e208476479db.zip
wow!!!! this one's been here for two years!!!! alignment issues
in smb_io_dom_query() where the string name could mis-align! added a call to prs_align() after the domain string name. (This used to be commit 1d05d2c959f41fffb9a85d161b9b64c957ee90e7)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_misc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpc_parse/parse_misc.c b/source3/rpc_parse/parse_misc.c
index 4bc44f2038..e46a6e02a5 100644
--- a/source3/rpc_parse/parse_misc.c
+++ b/source3/rpc_parse/parse_misc.c
@@ -1119,6 +1119,8 @@ static void smb_io_dom_query(char *desc, DOM_QUERY *d_q, prs_struct *ps, int de
smb_io_unistr2("unistr2", &(d_q->uni_domain_name), d_q->buffer_dom_name, ps, depth); /* domain name (unicode string) */
+ prs_align(ps);
+
if (d_q->buffer_dom_sid != 0)
{
smb_io_dom_sid2("", &(d_q->dom_sid), ps, depth); /* domain SID */