From 29ba13f6ea23d9f45bd5d73300c5e208476479db Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Tue, 14 Sep 1999 21:42:49 +0000 Subject: 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) --- source3/rpc_parse/parse_misc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/rpc_parse') 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 */ -- cgit