<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/fs/erofs/fs.c, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/fs/erofs/fs.c?h=main</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/fs/erofs/fs.c?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2025-07-11T17:33:25Z</updated>
<entry>
<title>fs: erofs: Do NULL check before dereferencing pointer</title>
<updated>2025-07-11T17:33:25Z</updated>
<author>
<name>Andrew Goodbody</name>
<email>andrew.goodbody@linaro.org</email>
</author>
<published>2025-07-04T10:53:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ff8a41ce4947c6d7f1826990d5d7b96d30928e3f'/>
<id>urn:sha1:ff8a41ce4947c6d7f1826990d5d7b96d30928e3f</id>
<content type='text'>
The assignments to sect and off use the pointer from ctxt.cur_dev but
that has not been NULL checked before this is done. So instead move the
assignments after the NULL check.

This issue found by Smatch

Signed-off-by: Andrew Goodbody &lt;andrew.goodbody@linaro.org&gt;
Reviewed-by: Gao Xiang &lt;xiang@kernel.org&gt;
</content>
</entry>
<entry>
<title>fs/erofs: fix an integer overflow in symlink resolution</title>
<updated>2025-02-18T18:32:07Z</updated>
<author>
<name>Gao Xiang</name>
<email>hsiangkao@linux.alibaba.com</email>
</author>
<published>2025-02-13T11:28:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7a45cb4ffeff034304789954bb222ddd7d02104a'/>
<id>urn:sha1:7a45cb4ffeff034304789954bb222ddd7d02104a</id>
<content type='text'>
See the original report [1], otherwise len + 1 will be overflowed.

Note that EROFS archive can record arbitary symlink sizes in principle,
so we don't assume a short number like 4096.

[1] https://lore.kernel.org/r/20250210164151.GN1233568@bill-the-cat

Fixes: 830613f8f5bb ("fs/erofs: add erofs filesystem support")
Signed-off-by: Gao Xiang &lt;hsiangkao@linux.alibaba.com&gt;
</content>
</entry>
<entry>
<title>fs/erofs: Introduce new features including ztailpacking, fragments and dedupe</title>
<updated>2023-07-17T19:38:11Z</updated>
<author>
<name>Yifan Zhao</name>
<email>zhaoyifan@sjtu.edu.cn</email>
</author>
<published>2023-07-07T15:52:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3a21e92fc255d38a76a3c9a9eb4c2c693fc93b65'/>
<id>urn:sha1:3a21e92fc255d38a76a3c9a9eb4c2c693fc93b65</id>
<content type='text'>
This patch updates erofs driver code to catch up with the latest code of
erofs_utils (commit e4939f9eaa177e05d697ace85d8dc283e25dc2ed).

LZMA will be supported in the separate patch later.

Signed-off-by: Yifan Zhao &lt;zhaoyifan@sjtu.edu.cn&gt;
Reviewed-by: Huang Jianan &lt;jnhuang95@gmail.com&gt;
</content>
</entry>
<entry>
<title>fs/erofs: add erofs filesystem support</title>
<updated>2022-03-15T20:19:29Z</updated>
<author>
<name>Huang Jianan</name>
<email>jnhuang95@gmail.com</email>
</author>
<published>2022-02-26T07:05:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=830613f8f5bba4456b600502f796b8ef1967b0c9'/>
<id>urn:sha1:830613f8f5bba4456b600502f796b8ef1967b0c9</id>
<content type='text'>
This patch mainly deals with uncompressed files.

Signed-off-by: Huang Jianan &lt;jnhuang95@gmail.com&gt;
</content>
</entry>
</feed>
