mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
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
This commit is contained in:
parent
5176a0b2af
commit
042aafb87d
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user