Files
rtems/cpukit/libfs/src
Sebastian Huber 2ea03be47c jffs2: Fix return code of rtime compress
The RTEMS and Linux JFFS2 compression support have a slightly different
interface.  This fixes a bug introduced by:

commit 17c3d536ca
Author: Yang Yang <yang.yang29@zte.com.cn>
Date:   Thu Jan 28 02:55:35 2021 -0800

    jffs2: check the validity of dstlen in jffs2_zlib_compress()

    KASAN reports a BUG when download file in jffs2 filesystem.It is
    because when dstlen == 1, cpage_out will write array out of bounds.
    Actually, data will not be compressed in jffs2_zlib_compress() if
    data's length less than 4.
2023-01-12 14:40:38 +01:00
..
2022-09-19 09:09:22 +02:00
2022-12-02 09:32:01 -06:00
2022-07-25 16:11:36 +02:00
2020-04-28 09:04:00 +02:00