diff options
author | Jeff Layton <[email protected]> | 2024-07-12 07:26:44 -0400 |
---|---|---|
committer | Chuck Lever <[email protected]> | 2024-07-12 12:58:48 -0400 |
commit | 769d20028f45a4f442cfe558a32faba357a7f5e2 (patch) | |
tree | 2bc35533111d0253e3ff8a3046809608e5689e11 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | a3123341dc358952ce2bf8067fbdfb7eaadf71bb (diff) |
nfsd: nfsd_file_lease_notifier_call gets a file_lease as an argument
"data" actually refers to a file_lease and not a file_lock. Both structs
have their file_lock_core as the first field though, so this bug should
be harmless without struct randomization in play.
Reported-by: Florian Evers <[email protected]>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=219008
Fixes: 05580bbfc6bc ("nfsd: adapt to breakup of struct file_lock")
Signed-off-by: Jeff Layton <[email protected]>
Tested-by: Florian Evers <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions