git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a5c33e
)
NFSD: Correct the size calculation in fault_inject_write
author
Bryan Schumaker
<bjschuma@netapp.com>
Fri, 7 Dec 2012 21:17:29 +0000
(16:17 -0500)
committer
J. Bruce Fields
<bfields@redhat.com>
Mon, 10 Dec 2012 23:24:22 +0000
(18:24 -0500)
If len == 0 we end up with size = (0 - 1), which could cause bad things
to happen in copy_from_user().
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
No differences found