Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etercifs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
etercifs
Commits
4e1a01f1
Commit
4e1a01f1
authored
Jul 02, 2009
by
Evgeny Sinelnikov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update sources 2.6.28 from 2.6.28.10
Fix buffer format byte on NT Rename/hardlink commit d5496f8996e53b6a6841c9bf1889d04dbcfc55b3
parent
868d7f02
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
CHANGES
sources/2.6.28/CHANGES
+3
-0
cifssmb.c
sources/2.6.28/cifssmb.c
+4
-2
connect.c
sources/2.6.28/connect.c
+1
-1
No files found.
sources/2.6.28/CHANGES
View file @
4e1a01f1
Fix oops in cifs_dfs_ref.c when prefixpath is not reachable when using DFS.
Fix "redzone overwritten" bug in cifs_put_tcon (CIFSTcon may allocate too
little memory for the "nativeFileSystem" field returned by the server
during mount).
Version 1.55
------------
...
...
sources/2.6.28/cifssmb.c
View file @
4e1a01f1
...
...
@@ -2389,8 +2389,10 @@ winCreateHardLinkRetry:
PATH_MAX
,
nls_codepage
,
remap
);
name_len
++
;
/* trailing null */
name_len
*=
2
;
pSMB
->
OldFileName
[
name_len
]
=
0
;
/* pad */
pSMB
->
OldFileName
[
name_len
+
1
]
=
0x04
;
/* protocol specifies ASCII buffer format (0x04) for unicode */
pSMB
->
OldFileName
[
name_len
]
=
0x04
;
pSMB
->
OldFileName
[
name_len
+
1
]
=
0x00
;
/* pad */
name_len2
=
cifsConvertToUCS
((
__le16
*
)
&
pSMB
->
OldFileName
[
name_len
+
2
],
toName
,
PATH_MAX
,
nls_codepage
,
remap
);
...
...
sources/2.6.28/connect.c
View file @
4e1a01f1
...
...
@@ -3585,7 +3585,7 @@ CIFSTCon(unsigned int xid, struct cifsSesInfo *ses,
BCC
(
smb_buffer_response
))
{
kfree
(
tcon
->
nativeFileSystem
);
tcon
->
nativeFileSystem
=
kzalloc
(
length
+
2
,
GFP_KERNEL
);
kzalloc
(
2
*
(
length
+
1
)
,
GFP_KERNEL
);
if
(
tcon
->
nativeFileSystem
)
cifs_strfromUCS_le
(
tcon
->
nativeFileSystem
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment