diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-09-03 05:35:13 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-09-03 05:35:13 +0000 |
commit | ea1cd3fbd727c338aae9c98e8a383e0d81142f60 (patch) | |
tree | 765cd3ff678a3fb2868063dfc239a24317356d8f | |
parent | 0b5cc173099c7fd5ea4865ef4197739ec87e4c35 (diff) | |
download | samba-ea1cd3fbd727c338aae9c98e8a383e0d81142f60.tar.gz samba-ea1cd3fbd727c338aae9c98e8a383e0d81142f60.tar.bz2 samba-ea1cd3fbd727c338aae9c98e8a383e0d81142f60.zip |
we were setting the strings 1 too long in make_srv_share_info1_str()
(This used to be commit 29e1e59db8035e0fd2c088a969fa17549ce1b897)
-rw-r--r-- | source3/rpc_parse/parse_srv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_parse/parse_srv.c b/source3/rpc_parse/parse_srv.c index a66699b95c..356b515f19 100644 --- a/source3/rpc_parse/parse_srv.c +++ b/source3/rpc_parse/parse_srv.c @@ -37,8 +37,8 @@ void make_srv_share_info1_str(SH_INFO_1_STR *sh1, char *net_name, char *remark) DEBUG(5,("make_srv_share_info1_str\n")); - make_unistr2(&(sh1->uni_netname), net_name, strlen(net_name)+1); - make_unistr2(&(sh1->uni_remark ), remark , strlen(remark )+1); + make_unistr2(&(sh1->uni_netname), net_name, strlen(net_name)); + make_unistr2(&(sh1->uni_remark ), remark , strlen(remark )); } /******************************************************************* |