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
142e833f
Commit
142e833f
authored
Apr 08, 2009
by
Konstantin Baev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update sources/2.6.29
- source: cifs-2.6.git - refspec: v2.6.29-etercifs - commit: a37696ff72a91fda16caff11012cf2cbc9f111fd merge with new kernel minor version (v2.6.29.1)
parent
138ec873
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
CHANGES
sources/2.6.29/CHANGES
+3
-0
cifssmb.c
sources/2.6.29/cifssmb.c
+4
-2
connect.c
sources/2.6.29/connect.c
+1
-1
No files found.
sources/2.6.29/CHANGES
View file @
142e833f
...
...
@@ -7,6 +7,9 @@ are authenticated as guest, as reconnections, invalidating the earlier
user's smb session. This fix allows cifs to mount multiple times to the
same server with different userids without risking invalidating earlier
established security contexts.
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.56
------------
...
...
sources/2.6.29/cifssmb.c
View file @
142e833f
...
...
@@ -2395,8 +2395,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.29/connect.c
View file @
142e833f
...
...
@@ -3673,7 +3673,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