1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

shouldn't null terminate trans2 qfileinfo all_info/name

(This used to be commit f7cd16ab58753be25bc9c7b487289361e3882da3)
This commit is contained in:
Andrew Tridgell 2003-06-04 05:45:40 +00:00
parent 894b003ce6
commit 878944f1ec

View File

@ -2051,7 +2051,7 @@ static int call_trans2qfilepathinfo(connection_struct *conn,
SCVAL(pdata,21,(mode&aDIR)?1:0);
pdata += 24;
pdata += 4; /* EA info */
len = srvstr_push(outbuf, pdata+4, dos_fname, -1, STR_TERMINATE);
len = srvstr_push(outbuf, pdata+4, dos_fname, -1, 0);
SIVAL(pdata,0,len);
pdata += 4 + len;
data_size = PTR_DIFF(pdata,(*ppdata));