summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYichong Chen <chenyichong@uniontech.com>2026-07-15 13:20:05 +0800
committerTyler Hicks <code@tyhicks.com>2026-07-20 22:11:14 -0500
commit8b2ec0f56f55477f547d332526c9ae2a8fabc0a5 (patch)
tree3f49d38925649142cae0ecf6e031cfe0c38e79fe /tools/perf/scripts/python
parent2602b79c5b3e2f6fce12e38a670f8e3fda4e46a2 (diff)
ecryptfs: fix tag 11 packet exact-fit size check
parse_tag_11_packet() rejects a packet when the already-consumed tag and length bytes plus the packet body exceed the caller supplied maximum packet size. The check currently adds one extra byte, even though *packet_size already includes the tag byte before the length is parsed. Remove the extra byte so a tag 11 packet that exactly fits the available buffer is accepted while oversized packets are still rejected. Fixes: 237fead61998 ("[PATCH] ecryptfs: fs/Makefile and fs/Kconfig") Cc: <stable@vger.kernel.org> Signed-off-by: Yichong Chen <chenyichong@uniontech.com> Signed-off-by: Tyler Hicks <code@tyhicks.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions