summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-07-02 21:56:20 +0000
committerJeremy Allison <jra@samba.org>2001-07-02 21:56:20 +0000
commit6780f050e1d909cdfcdeeb7be32fa5beed3bd437 (patch)
tree578933367ca3bb02dadbcad38b9ceb35ad6221c8 /source3
parent3d90180af46f8d306c12ffff12c8d57ce1b4cd8b (diff)
downloadsamba-6780f050e1d909cdfcdeeb7be32fa5beed3bd437.tar.gz
samba-6780f050e1d909cdfcdeeb7be32fa5beed3bd437.tar.bz2
samba-6780f050e1d909cdfcdeeb7be32fa5beed3bd437.zip
Missing prs_align() was causing Win9x nexus tools to fail. security_info_sent
was being miss-parsed. Jeremy. (This used to be commit 1685e41da04f1fbbab036e194ce1b1e7ba9fef86)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_parse/parse_srv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/rpc_parse/parse_srv.c b/source3/rpc_parse/parse_srv.c
index 6d24617f36..637b834266 100644
--- a/source3/rpc_parse/parse_srv.c
+++ b/source3/rpc_parse/parse_srv.c
@@ -2755,6 +2755,9 @@ BOOL srv_io_q_net_file_set_secdesc(char *desc, SRV_Q_NET_FILE_SET_SECDESC *q_n,
if(!smb_io_unistr2("", &q_n->uni_file_name, True, ps, depth))
return False;
+ if(!prs_align(ps))
+ return False;
+
if(!prs_uint32("sec_info", ps, depth, &q_n->sec_info))
return False;