forked from Imagelibrary/rtems
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.
This directory contains for the "file system" library. All supported file systems live under this tree. Currently the supported file systems in this library are: - IMFS or In Memory File System This is the only root file system on RTEMS at the moment. It supports files, directories, device nodes and mount points. It can also be configured to be the miniIMFS. - TFTP and FTP filesystem are part of the libnetworking library. - DEVFS or Device File system - DOSFS, a FAT 12/16/32 MSDOS compatible file system. - NFS Client, can mount NFS exported file systems. - PIPE, a pipe file system. - RFS, The RTEMS File System. --Chris Johns and Joel Sherrill 17 Feb 2010