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
2ef499a7
Commit
2ef499a7
authored
Mar 19, 2009
by
Konstantin Baev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update sources/2.6.28
- source: cifs-2.6.git - refspec: v2.6.28-etercifs - commit: aeb70a892d3b6f2c8ba8fe7de44393714780f8dd merge with new kernel minor version (v2.6.28.8)
parent
9146ef34
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
CHANGES
sources/2.6.28/CHANGES
+2
-0
sess.c
sources/2.6.28/sess.c
+2
-2
No files found.
sources/2.6.28/CHANGES
View file @
2ef499a7
Fix oops in cifs_dfs_ref.c when prefixpath is not reachable when using DFS.
Version 1.55
------------
Various fixes to make delete of open files behavior more predictable
...
...
sources/2.6.28/sess.c
View file @
2ef499a7
...
...
@@ -228,7 +228,7 @@ static int decode_unicode_ssetup(char **pbcc_area, int bleft,
kfree
(
ses
->
serverOS
);
/* UTF-8 string will not grow more than four times as big as UCS-16 */
ses
->
serverOS
=
kzalloc
(
4
*
len
,
GFP_KERNEL
);
ses
->
serverOS
=
kzalloc
(
(
4
*
len
)
+
2
/* trailing null */
,
GFP_KERNEL
);
if
(
ses
->
serverOS
!=
NULL
)
cifs_strfromUCS_le
(
ses
->
serverOS
,
(
__le16
*
)
data
,
len
,
nls_cp
);
data
+=
2
*
(
len
+
1
);
...
...
@@ -241,7 +241,7 @@ static int decode_unicode_ssetup(char **pbcc_area, int bleft,
return
rc
;
kfree
(
ses
->
serverNOS
);
ses
->
serverNOS
=
kzalloc
(
4
*
len
,
GFP_KERNEL
);
/* BB this is wrong length FIXME BB */
ses
->
serverNOS
=
kzalloc
(
(
4
*
len
)
+
2
/* trailing null */
,
GFP_KERNEL
);
if
(
ses
->
serverNOS
!=
NULL
)
{
cifs_strfromUCS_le
(
ses
->
serverNOS
,
(
__le16
*
)
data
,
len
,
nls_cp
);
...
...
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