Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
8701dd18
Commit
8701dd18
authored
Jan 07, 2003
by
Trond Myklebust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Fix NFS 'off by one' bug
This fixes a bug that was found using the Stanford checker.
parent
51fe403a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
fs/nfs/inode.c
fs/nfs/inode.c
+1
-1
No files found.
fs/nfs/inode.c
View file @
8701dd18
...
@@ -1440,7 +1440,7 @@ static struct super_block *nfs4_get_sb(struct file_system_type *fs_type,
...
@@ -1440,7 +1440,7 @@ static struct super_block *nfs4_get_sb(struct file_system_type *fs_type,
server
->
mnt_path
=
p
;
server
->
mnt_path
=
p
;
p
=
nfs_copy_user_string
(
server
->
ip_addr
,
&
data
->
client_addr
,
p
=
nfs_copy_user_string
(
server
->
ip_addr
,
&
data
->
client_addr
,
sizeof
(
server
->
ip_addr
));
sizeof
(
server
->
ip_addr
)
-
1
);
if
(
IS_ERR
(
p
))
if
(
IS_ERR
(
p
))
goto
out_err
;
goto
out_err
;
...
...
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