summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorDiego Oliva <diego@bynar.io>2026-09-29 10:16:36 +0100
committerPaulo Alcantara <pc@manguebit.org>2026-10-13 00:52:20 -0300
commit276dcdc55b5dd238b2ec5b5db6c16ee37792a118 (patch)
treed446e7541205c44bc033455055aead79d3d48c3e /tools/perf/scripts/python/stackcollapse.py
parent531aa4239b0d80d7146b102b98f7aa7da989ccdd (diff)
downloadlinux-276dcdc55b5dd238b2ec5b5db6c16ee37792a118.tar.gz
linux-276dcdc55b5dd238b2ec5b5db6c16ee37792a118.zip
smb: client: drop the redundant name bounds in cifs_filldir()
cifs_fill_dirent() rejects an entry whose name extends past the end of the response before it returns, for both of its callers. The two checks cifs_filldir() applies after the parse can no longer fail: the one that commit f8cf09a53a0d ("smb: client: bound dirent name against end of SMB response in cifs_filldir") added tests the same name against the same end, and the older one, which compares the name length with the length of the response, is implied by it because the name starts inside the response. Remove both. This patch depends on "smb: client: fix OOB read of the resume name sent in TRANS2_FIND_NEXT2", which added the check to cifs_fill_dirent(). No functional change intended. Assisted-by: Bynario AI Signed-off-by: Diego Oliva <diego@bynar.io> Reviewed-by: David Howells <dhowells@redhat.com> Signed-off-by: Paulo Alcantara <pc@manguebit.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions