diff options
author | lei lu <[email protected]> | 2024-06-26 18:44:33 +0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-07-04 23:43:10 -0700 |
commit | 255547c6bb8940a97eea94ef9d464ea5967763fb (patch) | |
tree | d8f1887fb3e9ea973a0c7a3232d06ff4cbf72e5f /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 937b2972ce900fcfad87c13432e36f39da06a0df (diff) |
ocfs2: add bounds checking to ocfs2_check_dir_entry()
This adds sanity checks for ocfs2_dir_entry to make sure all members of
ocfs2_dir_entry don't stray beyond valid memory region.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: lei lu <[email protected]>
Reviewed-by: Heming Zhao <[email protected]>
Reviewed-by: Joseph Qi <[email protected]>
Cc: Mark Fasheh <[email protected]>
Cc: Joel Becker <[email protected]>
Cc: Junxiao Bi <[email protected]>
Cc: Changwei Ge <[email protected]>
Cc: Gang He <[email protected]>
Cc: Jun Piao <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions