git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d51b463
)
fixed the string alignment of the QUERY_EA_SIZE trans2 findfirst level
author
Andrew Tridgell
<tridge@samba.org>
Fri, 6 Jun 2003 04:31:48 +0000
(
04:31
+0000)
committer
Andrew Tridgell
<tridge@samba.org>
Fri, 6 Jun 2003 04:31:48 +0000
(
04:31
+0000)
(This used to be commit
ff5e37ed293b61c2585c66e7366fae478754cca1
)
source3/smbd/trans2.c
patch
|
blob
|
history
diff --git
a/source3/smbd/trans2.c
b/source3/smbd/trans2.c
index 0aa0087c26a60f1e0b84549ecf7bb9a5ea393f12..fa6488362099ee19893f2bafdee82450d059d83e 100644
(file)
--- a/
source3/smbd/trans2.c
+++ b/
source3/smbd/trans2.c
@@
-649,8
+649,7
@@
static BOOL get_lanman2_dir_entry(connection_struct *conn,
SIVAL(p,l2_cbList,0); /* No extended attributes */
p += l2_achName;
nameptr = p;
- p += align_string(outbuf, p, 0);
- len = srvstr_push(outbuf, p, fname, -1, STR_TERMINATE);
+ len = srvstr_push(outbuf, p, fname, -1, STR_TERMINATE | STR_NOALIGN);
if (SVAL(outbuf, smb_flg2) & FLAGS2_UNICODE_STRINGS)
SCVAL(nameptr, -1, len-2);
else