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
307d8cef
Commit
307d8cef
authored
May 31, 2011
by
Pavel Shilovsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update 2.6.32 sources from stable (v2.6.32.41)
parent
47fc7731
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
connect.c
sources/2.6.32/connect.c
+5
-0
sess.c
sources/2.6.32/sess.c
+3
-1
No files found.
sources/2.6.32/connect.c
View file @
307d8cef
...
...
@@ -2222,6 +2222,11 @@ is_path_accessible(int xid, struct cifsTconInfo *tcon,
0
/* not legacy */
,
cifs_sb
->
local_nls
,
cifs_sb
->
mnt_cifs_flags
&
CIFS_MOUNT_MAP_SPECIAL_CHR
);
if
(
rc
==
-
EOPNOTSUPP
||
rc
==
-
EINVAL
)
rc
=
SMBQueryInformation
(
xid
,
tcon
,
full_path
,
pfile_info
,
cifs_sb
->
local_nls
,
cifs_sb
->
mnt_cifs_flags
&
CIFS_MOUNT_MAP_SPECIAL_CHR
);
kfree
(
pfile_info
);
return
rc
;
}
...
...
sources/2.6.32/sess.c
View file @
307d8cef
...
...
@@ -906,7 +906,9 @@ ssetup_ntlmssp_authenticate:
}
/* BB check if Unicode and decode strings */
if
(
smb_buf
->
Flags2
&
SMBFLG2_UNICODE
)
{
if
(
bytes_remaining
==
0
)
{
/* no string area to decode, do nothing */
}
else
if
(
smb_buf
->
Flags2
&
SMBFLG2_UNICODE
)
{
/* unicode string area must be word-aligned */
if
(((
unsigned
long
)
bcc_ptr
-
(
unsigned
long
)
smb_buf
)
%
2
)
{
++
bcc_ptr
;
...
...
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