<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cherryusb.git, branch dev</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/cherryusb.git/atom/?h=dev</id>
<link rel='self' href='http://cgit.235523.xyz/cherryusb.git/atom/?h=dev'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/cherryusb.git/'/>
<updated>2026-08-19T09:50:10Z</updated>
<entry>
<title>update</title>
<updated>2026-08-19T09:50:10Z</updated>
<author>
<name>sakumisu</name>
<email>1203593632@qq.com</email>
</author>
<published>2026-08-19T09:50:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/cherryusb.git/commit/?id=92c5dcf53b051228125c7fc94b2bcd2984116b47'/>
<id>urn:sha1:92c5dcf53b051228125c7fc94b2bcd2984116b47</id>
<content type='text'>
Signed-off-by: sakumisu &lt;1203593632@qq.com&gt;
</content>
</entry>
<entry>
<title>update(class/serial): add rx overflow control</title>
<updated>2026-08-04T09:44:13Z</updated>
<author>
<name>sakumisu</name>
<email>1203593632@qq.com</email>
</author>
<published>2026-08-04T09:44:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/cherryusb.git/commit/?id=cd75c652ea9ef037c069b1a55f8004e7ced5605e'/>
<id>urn:sha1:cd75c652ea9ef037c069b1a55f8004e7ced5605e</id>
<content type='text'>
Signed-off-by: sakumisu &lt;1203593632@qq.com&gt;
</content>
</entry>
<entry>
<title>fix(security): add check for sem&amp;mq&amp;thread and delete remain sources if alloc fail</title>
<updated>2026-08-03T09:56:46Z</updated>
<author>
<name>sakumisu</name>
<email>1203593632@qq.com</email>
</author>
<published>2026-08-03T09:56:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/cherryusb.git/commit/?id=3d14b52425f24f46df6254ac0b824e365e33e10a'/>
<id>urn:sha1:3d14b52425f24f46df6254ac0b824e365e33e10a</id>
<content type='text'>
Signed-off-by: sakumisu &lt;1203593632@qq.com&gt;
</content>
</entry>
<entry>
<title>fix(idf): support legacy FatFS VFS registration API</title>
<updated>2026-07-31T10:16:23Z</updated>
<author>
<name>yanke</name>
<email>yanke2@espressif.com</email>
</author>
<published>2026-07-31T10:05:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/cherryusb.git/commit/?id=487d0b6499b08f765f829abfd08c49dbc07e9d2c'/>
<id>urn:sha1:487d0b6499b08f765f829abfd08c49dbc07e9d2c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(security): fix adb len check</title>
<updated>2026-07-25T15:29:27Z</updated>
<author>
<name>sakumisu</name>
<email>1203593632@qq.com</email>
</author>
<published>2026-07-25T15:29:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/cherryusb.git/commit/?id=af3a981a7a0be2d63b26e1db2d2ca9a437f9f679'/>
<id>urn:sha1:af3a981a7a0be2d63b26e1db2d2ca9a437f9f679</id>
<content type='text'>
Signed-off-by: sakumisu &lt;1203593632@qq.com&gt;
</content>
</entry>
<entry>
<title>[update] audio: add AUDIO_FEEDBACK_TO_BUF_HS_INTERVAL/AUDIO_FEEDBACK_TO_BUF_FS_INTERVAL macros</title>
<updated>2026-07-24T03:25:27Z</updated>
<author>
<name>Zhihong Chen</name>
<email>zhihong.chen@hpmicro.com</email>
</author>
<published>2026-07-24T03:21:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/cherryusb.git/commit/?id=23cb7a3f47e831dbaad6691314a36c1222d236f5'/>
<id>urn:sha1:23cb7a3f47e831dbaad6691314a36c1222d236f5</id>
<content type='text'>
Signed-off-by: Zhihong Chen &lt;zhihong.chen@hpmicro.com&gt;
</content>
</entry>
<entry>
<title>fix(usbh): bounds-check cur_ep before writing ep[] in parse_config_descriptor (#426)</title>
<updated>2026-07-17T01:43:01Z</updated>
<author>
<name>yi chen</name>
<email>87560781+94xhn@users.noreply.github.com</email>
</author>
<published>2026-07-17T01:43:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/cherryusb.git/commit/?id=5bfaf7e3fc542db6624fc51cceccbb1d92d8706c'/>
<id>urn:sha1:5bfaf7e3fc542db6624fc51cceccbb1d92d8706c</id>
<content type='text'>
* fix(usbh): check cur_ep against CONFIG_USBHOST_MAX_ENDPOINTS before writing ep[]

parse_config_descriptor() checks cur_ep_num (the interface descriptor's
self-declared bNumEndpoints) against CONFIG_USBHOST_MAX_ENDPOINTS when
the INTERFACE descriptor is parsed, but cur_ep (the actual write index,
incremented once per ENDPOINT sub-descriptor encountered in the byte
stream) is never bounds-checked in the USB_DESCRIPTOR_TYPE_ENDPOINT
case before the memcpy.

A non-conformant or malicious device can declare a small bNumEndpoints
while still emitting more ENDPOINT descriptors than declared in the
raw config descriptor byte stream, causing cur_ep to exceed
CONFIG_USBHOST_MAX_ENDPOINTS and the memcpy to write past the ep[]
array, past altsetting[], and potentially past the whole
usbh_configuration struct.

Add the same bounds check pattern already used for cur_iface and
cur_alt_setting two cases above, applied to cur_ep before the memcpy.

* Allow interfaces to use configured capacity

Endpoint counts are quantities, so a declaration equal to the endpoint array capacity is valid. The per-index guard still rejects descriptors that contain more endpoint records than the storage can hold.

Constraint: Preserve the new cur_ep index guard

Confidence: high

Scope-risk: narrow

Tested: Real parser matrix for declared/actual 3/3, 4/4, 5/5, and 3/5; MinGW and WSL GCC13 ASan+UBSan

Not-tested: Physical USB device enumeration</content>
</entry>
<entry>
<title>update(gamepad): update xinput report and desc</title>
<updated>2026-07-15T09:52:13Z</updated>
<author>
<name>sakumisu</name>
<email>1203593632@qq.com</email>
</author>
<published>2026-07-15T09:52:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/cherryusb.git/commit/?id=bcf74e9cdef573d4026cb5987076a263d8a8fc51'/>
<id>urn:sha1:bcf74e9cdef573d4026cb5987076a263d8a8fc51</id>
<content type='text'>
Signed-off-by: sakumisu &lt;1203593632@qq.com&gt;
</content>
</entry>
<entry>
<title>fix(security): check desc len overflow</title>
<updated>2026-07-14T02:54:43Z</updated>
<author>
<name>sakumisu</name>
<email>1203593632@qq.com</email>
</author>
<published>2026-07-14T02:54:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/cherryusb.git/commit/?id=bce3346209445d8e8f9d60860c3e7ff6936d12b3'/>
<id>urn:sha1:bce3346209445d8e8f9d60860c3e7ff6936d12b3</id>
<content type='text'>
Signed-off-by: sakumisu &lt;1203593632@qq.com&gt;
</content>
</entry>
<entry>
<title>update(chore): add clang-tidy</title>
<updated>2026-07-12T10:38:31Z</updated>
<author>
<name>sakumisu</name>
<email>1203593632@qq.com</email>
</author>
<published>2026-07-12T10:38:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/cherryusb.git/commit/?id=5e9d0e6dd393d9aff3ed7f8dc46824139448d0bb'/>
<id>urn:sha1:5e9d0e6dd393d9aff3ed7f8dc46824139448d0bb</id>
<content type='text'>
Signed-off-by: sakumisu &lt;1203593632@qq.com&gt;
</content>
</entry>
</feed>
