<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/dfs/dfs_v2/filesystems/devfs/devfs.c, branch riscv64</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/components/dfs/dfs_v2/filesystems/devfs/devfs.c?h=riscv64</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/dfs/dfs_v2/filesystems/devfs/devfs.c?h=riscv64'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2024-05-21T11:45:08Z</updated>
<entry>
<title>[dfsv2] fixup out-of-memory access (#8973)</title>
<updated>2024-05-21T11:45:08Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-05-21T11:45:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=5f947863b4358ba437878747072bc372cb1e855e'/>
<id>urn:sha1:5f947863b4358ba437878747072bc372cb1e855e</id>
<content type='text'>
This change addresses a potential out-of-memory access issue in the
devfs filesystem component. The issue arises when the `rt_malloc`
function allocates memory for a path string without accounting for
the null terminator, leading to undefined behavior.

As the manual documented:

&gt; DESCRIPTION
&gt;   The strlen() function calculates the length of the string pointed to
&gt;   by s, excluding the terminating null byte ('\0').

To fix this, the memory allocation size was increased by one byte
to ensure space for the null terminator. This prevents potential
out-of-memory access and ensures proper string termination.

Signed-off-by: Shell &lt;smokewood@qq.com&gt;</content>
</entry>
<entry>
<title>[components][dfs]remove duplicate lseek in devfs (#8859)</title>
<updated>2024-04-25T10:28:43Z</updated>
<author>
<name>zms123456</name>
<email>85141075+zmshahaha@users.noreply.github.com</email>
</author>
<published>2024-04-25T10:28:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=be97a8ef25a46db542d1b7e9c1af6211723a324f'/>
<id>urn:sha1:be97a8ef25a46db542d1b7e9c1af6211723a324f</id>
<content type='text'>
remove duplicate lseek in devfs</content>
</entry>
<entry>
<title>sync smart &amp; dfs (#8672)</title>
<updated>2024-03-28T15:42:56Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-03-28T15:42:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=83e95bdff4c48c661b50e1eec56d5fd293b28fbb'/>
<id>urn:sha1:83e95bdff4c48c661b50e1eec56d5fd293b28fbb</id>
<content type='text'>
Signed-off-by: xqyjlj &lt;xqyjlj@126.com&gt;
Signed-off-by: Shell &lt;smokewood@qq.com&gt;
Co-authored-by: xqyjlj &lt;xqyjlj@126.com&gt;</content>
</entry>
<entry>
<title>fixup d1s (#8671)</title>
<updated>2024-03-25T12:29:56Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-03-25T12:29:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=3237efd0898a2e3a58d7c6da17ae8e1e900bda8f'/>
<id>urn:sha1:3237efd0898a2e3a58d7c6da17ae8e1e900bda8f</id>
<content type='text'>
Signed-off-by: Shell &lt;smokewood@qq.com&gt;</content>
</entry>
<entry>
<title>sync update dfs v2. (#8336)</title>
<updated>2023-12-12T10:05:39Z</updated>
<author>
<name>geniusgogo</name>
<email>2041245+geniusgogo@users.noreply.github.com</email>
</author>
<published>2023-12-12T10:05:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=304ce5919c01bb0a04a7b0b6e0ecb39ed0b13c24'/>
<id>urn:sha1:304ce5919c01bb0a04a7b0b6e0ecb39ed0b13c24</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update dfs (#7887)</title>
<updated>2023-08-02T05:59:43Z</updated>
<author>
<name>geniusgogo</name>
<email>2041245+geniusgogo@users.noreply.github.com</email>
</author>
<published>2023-08-02T05:59:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=69d94315b8453ed1986a8a7a4cbd5835deceb3be'/>
<id>urn:sha1:69d94315b8453ed1986a8a7a4cbd5835deceb3be</id>
<content type='text'>
</content>
</entry>
<entry>
<title>modify some function prototypes of the dfs_file_ops structure and the function declarations based on it (#7849)</title>
<updated>2023-07-24T01:12:35Z</updated>
<author>
<name>xiao-mang</name>
<email>53597406+xiao-mang@users.noreply.github.com</email>
</author>
<published>2023-07-24T01:12:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=befa95145115492c5c521f513b6ff075b0efdc80'/>
<id>urn:sha1:befa95145115492c5c521f513b6ff075b0efdc80</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[dfs] Add DFS v2.0 (#7606)</title>
<updated>2023-06-10T13:35:25Z</updated>
<author>
<name>Bernard Xiong</name>
<email>bernard.xiong@gmail.com</email>
</author>
<published>2023-06-10T13:35:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=99e80f8d3311a5222a028165f9d708870a3bb301'/>
<id>urn:sha1:99e80f8d3311a5222a028165f9d708870a3bb301</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[DFS] prepare for dfs_v2.0 (#7200)</title>
<updated>2023-04-08T14:25:51Z</updated>
<author>
<name>Bernard Xiong</name>
<email>bernard.xiong@gmail.com</email>
</author>
<published>2023-04-08T14:25:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=9600b75b55dace1c4efef8551059df3d673b21ad'/>
<id>urn:sha1:9600b75b55dace1c4efef8551059df3d673b21ad</id>
<content type='text'>
* [DFS] prepare for dfs_v2. dfs_fd -&gt; dfs_file; dfs_fnode -&gt; dfs_vnode.

* [BSP] fix code analysis warning

* [smart] fix the pointer overflow.

* code format

* [smart] fix the lwp-&gt;lwp_obj checking.</content>
</entry>
<entry>
<title>[DFS] add Kconfig for dfs-v2.0 (#7156)</title>
<updated>2023-04-04T07:02:56Z</updated>
<author>
<name>Bernard Xiong</name>
<email>bernard.xiong@gmail.com</email>
</author>
<published>2023-04-04T07:02:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=23955edf53422c20127ef0138b889016a1ba2341'/>
<id>urn:sha1:23955edf53422c20127ef0138b889016a1ba2341</id>
<content type='text'>
* [DFS] add Kconfig for dfs-v2.0

* [DFS] Optimize the SConscript.

* [dfs] move old dfs to dfs/dfs_v1</content>
</entry>
</feed>
