summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolodymyr Khomenko <Volodymyr_Khomenko@dell.com>2011-03-24 14:20:28 -0700
committerJeremy Allison <jra@samba.org>2011-03-24 23:07:09 +0100
commit042aafb87df6c05877b8fc7ef0d44877689d860a (patch)
tree4c8faf7261dc6bb8da30a8f378238a7e2443fa65 /source3/smbd
parent5176a0b2af1bb16e530412faaa2f36108f312a03 (diff)
downloadsamba-042aafb87df6c05877b8fc7ef0d44877689d860a.tar.gz
samba-042aafb87df6c05877b8fc7ef0d44877689d860a.tar.bz2
samba-042aafb87df6c05877b8fc7ef0d44877689d860a.zip
Fix bug 8021 - Incorrect string termination in volume/volume_name for TRANS2-QUERY_FS_INFO/Info Volume.
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Mar 24 23:07:09 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/trans2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 12cbc3b9e9..693cf02803 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -3015,7 +3015,7 @@ cBytesSector=%u, cUnitTotal=%u, cUnitAvail=%d\n", (unsigned int)st.st_ex_dev, (u
pdata, flags2,
pdata+l2_vol_szVolLabel, vname,
PTR_DIFF(end_data, pdata+l2_vol_szVolLabel),
- STR_NOALIGN|STR_TERMINATE);
+ STR_NOALIGN);
SCVAL(pdata,l2_vol_cch,len);
data_len = l2_vol_szVolLabel + len;
DEBUG(5,("smbd_do_qfsinfo : time = %x, namelen = %d, name = %s\n",