diff options
author | David Howells <[email protected]> | 2022-08-23 14:07:55 +0100 |
---|---|---|
committer | Steve French <[email protected]> | 2022-08-28 22:34:08 -0500 |
commit | 9c8b7a293f50253e694f19161c045817a938e551 (patch) | |
tree | 0f9cc697706ca1dbbbab416a7980431298b3a20a /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | fa30a81f255a56cccd89552cd6ce7ea6e8d8acc4 (diff) |
smb3: fix temporary data corruption in insert range
insert range doesn't discard the affected cached region
so can risk temporarily corrupting file data.
Also includes some minor cleanup (avoiding rereading
inode size repeatedly unnecessarily) to make it clearer.
Cc: [email protected]
Fixes: 7fe6fe95b936 ("cifs: add FALLOC_FL_INSERT_RANGE support")
Signed-off-by: David Howells <[email protected]>
cc: Ronnie Sahlberg <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions