aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorNamjae Jeon <[email protected]>2023-07-17 08:37:40 +0900
committerSteve French <[email protected]>2023-07-23 10:25:11 -0500
commit2b57a4322b1b14348940744fdc02f9a86cbbdbeb (patch)
tree4a2e6816c749b031393636fe31091f4c17c76173 /lib/test_fortify/write_overflow-strncpy-src.c
parent0266a2f791294e0b4ba36f4a1d89b8615ea3cac0 (diff)
ksmbd: check if a mount point is crossed during path lookup
Since commit 74d7970febf7 ("ksmbd: fix racy issue from using ->d_parent and ->d_name"), ksmbd can not lookup cross mount points. If last component is a cross mount point during path lookup, check if it is crossed to follow it down. And allow path lookup to cross a mount point when a crossmnt parameter is set to 'yes' in smb.conf. Cc: [email protected] Fixes: 74d7970febf7 ("ksmbd: fix racy issue from using ->d_parent and ->d_name") Signed-off-by: Namjae Jeon <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions