diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-12-07 22:17:29 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-12-11 00:24:22 +0100 |
commit | 18d9a2ca2ea1aa963a077fb49e7efcc3b0237a9b (patch) | |
tree | 34fa5f3dc37c5e0ffde3ce73b816f8a0bf11ec38 /net | |
parent | NFSD: Pass correct buffer size to rpc_ntop (diff) | |
download | linux-18d9a2ca2ea1aa963a077fb49e7efcc3b0237a9b.tar.xz linux-18d9a2ca2ea1aa963a077fb49e7efcc3b0237a9b.zip |
NFSD: Correct the size calculation in fault_inject_write
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions