Skip to content
Commit fe051552 authored by Kinsey Moore's avatar Kinsey Moore Committed by Richard Weinberger
Browse files

jffs2: Prevent rtime decompress memory corruption



The rtime decompression routine does not fully check bounds during the
entirety of the decompression pass and can corrupt memory outside the
decompression buffer if the compressed data is corrupted. This adds the
required check to prevent this failure mode.

Cc: stable@vger.kernel.org
Signed-off-by: default avatarKinsey Moore <kinsey.moore@oarcorp.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 7c8e694b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment