]> www.infradead.org Git - users/jedix/linux-maple.git/commit
jffs2: Fix rtime decompressor
authorRichard Weinberger <richard@nod.at>
Tue, 3 Dec 2024 11:27:15 +0000 (12:27 +0100)
committerRichard Weinberger <richard@nod.at>
Thu, 5 Dec 2024 11:31:40 +0000 (12:31 +0100)
commitb29bf7119d6bbfd04aabb8d82b060fe2a33ef890
tree4f05c6e8347ee75e78d339b27cfd25f3a3f842d0
parentfeffde684ac29a3b7aec82d2df850fbdbdee55e4
jffs2: Fix rtime decompressor

The fix for a memory corruption contained a off-by-one error and
caused the compressor to fail in legit cases.

Cc: Kinsey Moore <kinsey.moore@oarcorp.com>
Cc: stable@vger.kernel.org
Fixes: fe051552f5078 ("jffs2: Prevent rtime decompress memory corruption")
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/jffs2/compr_rtime.c