Commit bd384b04 authored by Kinsey Moore's avatar Kinsey Moore Committed by Greg Kroah-Hartman
Browse files

jffs2: Prevent rtime decompress memory corruption



commit fe051552 upstream.

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>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a0e0f67f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment