diff options
| author | Yichong Chen <chenyichong@uniontech.com> | 2026-07-15 13:20:05 +0800 |
|---|---|---|
| committer | Tyler Hicks <code@tyhicks.com> | 2026-07-20 22:11:14 -0500 |
| commit | 8b2ec0f56f55477f547d332526c9ae2a8fabc0a5 (patch) | |
| tree | 3f49d38925649142cae0ecf6e031cfe0c38e79fe /tools/perf/scripts/python/bin | |
| parent | 2602b79c5b3e2f6fce12e38a670f8e3fda4e46a2 (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/bin')
0 files changed, 0 insertions, 0 deletions
