diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-06-04 05:45:40 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-06-04 05:45:40 +0000 |
commit | 878944f1ec521eb70f3e28cd12abef4c21edcbf6 (patch) | |
tree | d5c09a37b47524429de104bfafd2101b2695dac3 | |
parent | 894b003ce65061693c47d74f73b0aa5768a8ee17 (diff) | |
download | samba-878944f1ec521eb70f3e28cd12abef4c21edcbf6.tar.gz samba-878944f1ec521eb70f3e28cd12abef4c21edcbf6.tar.bz2 samba-878944f1ec521eb70f3e28cd12abef4c21edcbf6.zip |
shouldn't null terminate trans2 qfileinfo all_info/name
(This used to be commit f7cd16ab58753be25bc9c7b487289361e3882da3)
-rw-r--r-- | source3/smbd/trans2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 8364c4b509..dcbb543c64 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -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)); |