diff options
author | Bryan Schumaker <[email protected]> | 2012-12-07 16:17:29 -0500 |
---|---|---|
committer | J. Bruce Fields <[email protected]> | 2012-12-10 18:24:22 -0500 |
commit | 18d9a2ca2ea1aa963a077fb49e7efcc3b0237a9b (patch) | |
tree | 34fa5f3dc37c5e0ffde3ce73b816f8a0bf11ec38 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | 0a5c33e23c4d781ecc815002c54f1f91012c703d (diff) |
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 <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions