diff options
author | Ferry Meng <[email protected]> | 2024-05-20 10:40:24 +0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-06-24 22:24:55 -0700 |
commit | af77c4fc1871847b528d58b7fdafb4aa1f6a9262 (patch) | |
tree | 329ade1b1d4ec45fc19e41bafb5f25fd05895c6b /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 9e3041fecdc8f78a5900c3aa51d3d756e73264d6 (diff) |
ocfs2: strict bound check before memcmp in ocfs2_xattr_find_entry()
xattr in ocfs2 maybe 'non-indexed', which saved with additional space
requested. It's better to check if the memory is out of bound before
memcmp, although this possibility mainly comes from crafted poisonous
images.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ferry Meng <[email protected]>
Signed-off-by: Joseph Qi <[email protected]>
Reported-by: lei lu <[email protected]>
Reviewed-by: Joseph Qi <[email protected]>
Cc: Changwei Ge <[email protected]>
Cc: Gang He <[email protected]>
Cc: Joel Becker <[email protected]>
Cc: Jun Piao <[email protected]>
Cc: Junxiao Bi <[email protected]>
Cc: Mark Fasheh <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions