<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/net, branch copilot/fix-riscv-none-job-failure</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/components/net?h=copilot%2Ffix-riscv-none-job-failure</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/net?h=copilot%2Ffix-riscv-none-job-failure'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2026-09-21T02:18:56Z</updated>
<entry>
<title>[net][at] Reject overlong numeric hostnames</title>
<updated>2026-09-21T02:18:56Z</updated>
<author>
<name>wyf-777</name>
<email>wyf-777@users.noreply.github.com</email>
</author>
<published>2026-09-07T04:06:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=3eff2d5c7e136c3ffa1e6eb9b02e6d6e15397bc9'/>
<id>urn:sha1:3eff2d5c7e136c3ffa1e6eb9b02e6d6e15397bc9</id>
<content type='text'>
Numeric hostnames were copied into a fixed stack buffer without a length bound.

Cache the length, reject values that cannot fit, and terminate the copy explicitly.

Fixes #11332

Assisted-by: OpenAI Codex:GPT-5</content>
</entry>
<entry>
<title>[components][sal] Fix SIOCGIFCONF buffer overflow</title>
<updated>2026-09-07T06:53:09Z</updated>
<author>
<name>zhangyuyang</name>
<email>zhangyuyang821@163.com</email>
</author>
<published>2026-08-30T07:44:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=7fa651bd298ddd6cc99d60043f6472f196608825'/>
<id>urn:sha1:7fa651bd298ddd6cc99d60043f6472f196608825</id>
<content type='text'>
</content>
</entry>
<entry>
<title>style: format code with clang-format [skip ci]</title>
<updated>2026-09-01T01:05:36Z</updated>
<author>
<name>wyf-777</name>
<email>203830680+wyf-777@users.noreply.github.com</email>
</author>
<published>2026-08-27T09:39:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=f4da5cf14c059d1cdf32f1275880eddfafe4c159'/>
<id>urn:sha1:f4da5cf14c059d1cdf32f1275880eddfafe4c159</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[net][sal] Free DFS v2 vnode when socket creation fails</title>
<updated>2026-09-01T01:05:36Z</updated>
<author>
<name>wyf-777</name>
<email>wyf-777@users.noreply.github.com</email>
</author>
<published>2026-08-27T08:45:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=cfba23f4d1580e301954f9f723e7f94364d3db2c'/>
<id>urn:sha1:cfba23f4d1580e301954f9f723e7f94364d3db2c</id>
<content type='text'>
When sal_socket() rejects a request, DFS v2 descriptor cleanup destroys the dfs_file but leaves its separately allocated vnode behind.

Destroy the vnode before releasing the failed descriptor and add a regression test that verifies repeated failures do not consume heap.

Fixes #11710

Assisted-by: OpenAI Codex:GPT-5
</content>
</entry>
<entry>
<title>fix(netdev): 修复无网卡时 ping 命令空指针崩溃</title>
<updated>2026-08-27T01:04:47Z</updated>
<author>
<name>zhangyuyang</name>
<email>zhangyuyang821@163.com</email>
</author>
<published>2026-08-26T06:19:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=14ef29af916199a2b3611ee2fd95baaca0d0e082'/>
<id>urn:sha1:14ef29af916199a2b3611ee2fd95baaca0d0e082</id>
<content type='text'>
netdev_cmd_ping 中 netdev 回退到 netdev_default 后未判空，
QEMU 无网卡环境下执行 ping 直接解引用 NULL 崩溃（data abort）。
回退后增加空指针检查，提示无可用网卡并返回错误。
</content>
</entry>
<entry>
<title>Add AF_UNIX sockets implementation (#11681)</title>
<updated>2026-08-17T09:15:34Z</updated>
<author>
<name>Bernard Xiong</name>
<email>bernard.xiong@gmail.com</email>
</author>
<published>2026-08-17T09:15:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=991f0ffca6ca475adcffc7833876bb8151f16e9c'/>
<id>urn:sha1:991f0ffca6ca475adcffc7833876bb8151f16e9c</id>
<content type='text'>
* components/dfs: support unix socket nodes

AF_UNIX pathname binding and descriptor passing require DFSv2 socket
nodes and retained open file descriptions across fd tables.

Add socket-node creation for tmpfs and devtmpfs, fd reference helpers,
and socket F_SETFL forwarding.

Impact: DFSv2 socket nodes and descriptor reference handling.
Validation: git diff --cached --check.

* components/net/sal: support local protocol providers

Local IPC protocol families do not have a backing network device.
Store the selected provider in each SAL socket and add a local provider
registry while preserving netdev checks for Internet sockets.

Handle DFSv2 close semantics, socketpair flags, and MSG_CTRUNC for
AF_UNIX integration.

Impact: SAL protocol dispatch for all socket families.
Validation: git diff --cached --check.

* components/lwp: support unix socket messages

Musl AF_UNIX addresses and ancillary data require explicit ABI and
user-memory conversion at the LWP syscall boundary.

Add the musl msghdr layout, bounded address and message copying,
control-message level conversion, and MSG_CTRUNC translation. Correct
receive buffer allocation and copy lengths while handling messages.

Impact: LWP socket syscalls when SAL is enabled.
Validation: git diff --cached --check.

* components/net/af_unix: add local sockets

Add an opt-in AF_UNIX provider for pathname-based local IPC without
a synthetic network device.

Support datagram and stream sockets, blocking and nonblocking I/O,
timeouts, poll, socketpair, and SCM_RIGHTS descriptor passing. Include
bounded Kconfig settings, component documentation, and utest coverage.

Impact: enabled only by RT_USING_AF_UNIX and requires SAL POSIX with
DFSv2.
Validation: git diff --cached --check.

* Fix AF_UNIX CI checks

Apply the repository clang-format rules to the affected source lines.
Suppress the cppcheck false positive for the devtmpfs list iterator.

No functional behavior is changed.

* components/lwp: preserve NULL optional msghdr buffers

When msg_name or msg_control is NULL, keep the kernel pointer NULL
instead of substituting an uninitialized buffer. Reject a NULL control
buffer with a nonzero length as EFAULT.

Impact: LWP sendmsg/recvmsg conversion on MMU targets.
Validation: git diff --cached --check.

* components/net/af_unix: fix poll UAF, namespace leak, and SCM_RIGHTS cycles

Poll only the local wait queue and wake writers from the receiver.
Free namespace entries on detach, and reject AF_UNIX descriptors in
SCM_RIGHTS until cycle collection exists.

Impact: AF_UNIX poll, bind lifetime, and descriptor passing.
Validation: git diff --cached --check.

* components/dfs: add DFSv2 AF_UNIX utest suite

Add opt-in tests under dfs/utest/v2/af_unix for socket nodes, IPC,
poll peer-close, namespace cleanup, and SCM_RIGHTS rejection.

Sources are built only when RT_UTEST_TC_USING_DFS_V2_AF_UNIX and the
selected test groups are enabled.

Impact: DFS utest menu and build; no production AF_UNIX behavior change.
Validation: git diff --cached --check.</content>
</entry>
<entry>
<title>[lwip-dhcpd] Fix pbuf leak for oversized requests</title>
<updated>2026-08-12T02:55:20Z</updated>
<author>
<name>hanzhijian</name>
<email>hanzhijian@zepp.com</email>
</author>
<published>2026-08-12T01:41:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=c00f13005b9726d5a0a58b2487a266916c6d8872'/>
<id>urn:sha1:c00f13005b9726d5a0a58b2487a266916c6d8872</id>
<content type='text'>
</content>
</entry>
<entry>
<title>net: lwip: fix mDNS test buffer fill size</title>
<updated>2026-07-20T01:39:17Z</updated>
<author>
<name>Old-Ding</name>
<email>35417409+Old-Ding@users.noreply.github.com</email>
</author>
<published>2026-07-06T03:24:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=b6cdae57d4e93c31d9ed7c6751ca5ffcdd46493c'/>
<id>urn:sha1:b6cdae57d4e93c31d9ed7c6751ca5ffcdd46493c</id>
<content type='text'>
Fill the mDNS domain name buffers with their array size instead of the size of the MDNS_DOMAIN_MAXLEN constant. This preserves the test intent of leaving different trailing bytes after equal names are encoded.

Generated-by: OpenAI Codex
Signed-off-by: Old-Ding &lt;35417409+Old-Ding@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>lwip: fix trailing whitespace in TLS config</title>
<updated>2026-07-05T07:48:09Z</updated>
<author>
<name>Old-Ding</name>
<email>35417409+Old-Ding@users.noreply.github.com</email>
</author>
<published>2026-06-27T17:04:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=cfd6f0ec9e2b5a7bdc5b6897d39cf7ccd538b181'/>
<id>urn:sha1:cfd6f0ec9e2b5a7bdc5b6897d39cf7ccd538b181</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lwip: require TLS certificate verification when CA is configured</title>
<updated>2026-07-05T07:48:09Z</updated>
<author>
<name>Old-Ding</name>
<email>35417409+Old-Ding@users.noreply.github.com</email>
</author>
<published>2026-06-27T17:04:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=2c797c358c189cb62a27b5016c53c79bedc26450'/>
<id>urn:sha1:2c797c358c189cb62a27b5016c53c79bedc26450</id>
<content type='text'>
</content>
</entry>
</feed>
