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:Kinsey Moore <kinsey.moore@oarcorp.com> Signed-off-by:
Richard Weinberger <richard@nod.at>
Loading
Please register or sign in to comment