diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-01-12 14:38:36 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-01-12 14:40:38 +0100 |
commit | 2ea03be47c41fc83d47eeecb53deaf2e66ef772c (patch) | |
tree | be0f65ba038dd9b7e52648abf546e0df3a0cdccf /spec/build/bsps/tst-xfail-dl06.yml | |
parent | jffs2: Update baseline version to Linux v6.1 (diff) | |
download | rtems-2ea03be47c41fc83d47eeecb53deaf2e66ef772c.tar.bz2 |
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 17c3d536ca8ee17d36ea251eade884e07ff1ee75
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.
Diffstat (limited to 'spec/build/bsps/tst-xfail-dl06.yml')
0 files changed, 0 insertions, 0 deletions