<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tinyusb.git/src/class/net, branch claude/adoring-pasteur-kbaFa</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/tinyusb.git/atom/src/class/net?h=claude%2Fadoring-pasteur-kbaFa</id>
<link rel='self' href='http://cgit.235523.xyz/tinyusb.git/atom/src/class/net?h=claude%2Fadoring-pasteur-kbaFa'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/'/>
<updated>2026-06-11T23:34:30Z</updated>
<entry>
<title>clean up PVS-Studio static-analysis findings for raspberry_pi_pico</title>
<updated>2026-06-11T23:34:30Z</updated>
<author>
<name>Claude</name>
<email>noreply@anthropic.com</email>
</author>
<published>2026-06-11T23:34:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=72f4d52aafaf582a29428863a72c454a9ae5e916'/>
<id>urn:sha1:72f4d52aafaf582a29428863a72c454a9ae5e916</id>
<content type='text'>
Resolves all TinyUSB-owned alerts reported by the CI PVS-Studio job
(static_analysis.yml, run with --security-related-issues) on the
raspberry_pi_pico board: 0 remaining in src/ and examples/.

Genuine fixes:
- ncm_device: validate wNdpIndex against sizeof(nth16_t), not the pointer
  size sizeof(nth16) (4 bytes) — the latter under-checks the NTB header
  (V568).
- tusb: drop the redundant `ff_buf != NULL &amp;&amp; ff_bufsize &gt; 0` guard in
  tu_edpt_stream_init(); the early return already guarantees it (V560).
- midi_host: bounds-check idx in tuh_midi_itf_get_info() instead of the
  always-true `&amp;_midi_host[idx]` pointer (V560).
- examples: fully initialize resolutions_per_format / frame_num /
  interval_ms arrays instead of leaving trailing elements implicitly zero
  (V1009).

False positives suppressed at the cause:
- usbd/usbh: hide the weak dcd_deinit()/hcd_deinit() stubs from the
  analyzer with #ifndef PVS_STUDIO. PVS analyzes one TU at a time and
  binds the call to the always-false weak stub (it cannot model the
  linker selecting the port's strong definition), then reports the
  cleanup loop after TU_ASSERT(...deinit()) as unreachable (V779).

False positives suppressed locally (inline //-V or .pvsconfig):
- .pvsconfig: V501 (HID descriptor macros), V763 (rhport override),
  V785 (audio function-index switch), V1044 (hardware poll loops).
- inline //-V for config-dependent or intentional constructs: V512,
  V514-style contiguous clears, V547, V557, V560, V614, V619, V641,
  V1008, V1037, V1048, V1086.

Verified: all examples build for raspberry_pi_pico; ceedling test:all
passes (60/60); re-run of the CI-exact PVS invocation reports zero
TinyUSB-owned findings.
</content>
</entry>
<entry>
<title>fixup</title>
<updated>2026-05-08T11:53:09Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2026-05-08T11:53:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=2471cbc28618971974fcbbb019a37cf5892253e2'/>
<id>urn:sha1:2471cbc28618971974fcbbb019a37cf5892253e2</id>
<content type='text'>
Signed-off-by: HiFiPhile &lt;admin@hifiphile.com&gt;
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'tinyusb/master' into ncm_packet_filter</title>
<updated>2026-05-08T11:13:08Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2026-05-08T11:13:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=21fbee1e63e3f756bb991ccb6477ec2b69f53eb8'/>
<id>urn:sha1:21fbee1e63e3f756bb991ccb6477ec2b69f53eb8</id>
<content type='text'>
Signed-off-by: HiFiPhile &lt;admin@hifiphile.com&gt;
</content>
</entry>
<entry>
<title>minor clean up</title>
<updated>2026-05-04T02:22:11Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-05-04T02:22:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=25ddb7ff0cfd361b733dadd3bb5307fdb94b6dc1'/>
<id>urn:sha1:25ddb7ff0cfd361b733dadd3bb5307fdb94b6dc1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'master' into copilot/upgrade-net-lwip-webserver-descriptors</title>
<updated>2026-05-03T12:36:25Z</updated>
<author>
<name>Zixun LI</name>
<email>admin@hifiphile.com</email>
</author>
<published>2026-05-03T12:36:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=ea2de8be7e939fdffd73efd75cc2e2051ca495a9'/>
<id>urn:sha1:ea2de8be7e939fdffd73efd75cc2e2051ca495a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/master' into ncm_packet_filter</title>
<updated>2026-05-01T11:58:17Z</updated>
<author>
<name>HiFiPHile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2026-05-01T11:58:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=5951d07ad9de9d05127348f110024ac08bf5e676'/>
<id>urn:sha1:5951d07ad9de9d05127348f110024ac08bf5e676</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ncm: implement GetNtbInputSize request</title>
<updated>2026-05-01T11:54:22Z</updated>
<author>
<name>Zixun LI</name>
<email>admin@hifiphile.com</email>
</author>
<published>2026-04-30T13:56:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=8db6084acac03acc1b98721f78d22587968ed5b2'/>
<id>urn:sha1:8db6084acac03acc1b98721f78d22587968ed5b2</id>
<content type='text'>
Signed-off-by: HiFiPHile &lt;admin@hifiphile.com&gt;
</content>
</entry>
<entry>
<title>ncm: Implement SetNtbInputSize request</title>
<updated>2026-04-30T13:36:30Z</updated>
<author>
<name>Elwin Huang</name>
<email>elwin@asiarf.com</email>
</author>
<published>2026-04-29T03:07:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=ddb81076a4f7c38b0958a97d76aa072180902b6f'/>
<id>urn:sha1:ddb81076a4f7c38b0958a97d76aa072180902b6f</id>
<content type='text'>
According to NCM standard 7.2.7, the device should tell the host its maximum size of NTB. Implement SetNtbInputSize according to it.
Without this commit, some OS may failed to enumerate the NCM device (e.g., IOS 26).

Signed-off-by: Elwin Huang &lt;elwin@asiarf.com&gt;
</content>
</entry>
<entry>
<title>add packet filter callback</title>
<updated>2026-04-30T12:56:13Z</updated>
<author>
<name>Zixun LI</name>
<email>admin@hifiphile.com</email>
</author>
<published>2026-04-30T12:56:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=7cfa0d1b970b6e276e0eca3eee2de43aa3b7c443'/>
<id>urn:sha1:7cfa0d1b970b6e276e0eca3eee2de43aa3b7c443</id>
<content type='text'>
Co-authored-by: Copilot &lt;copilot@github.com&gt;
Signed-off-by: Zixun LI &lt;admin@hifiphile.com&gt;
</content>
</entry>
<entry>
<title>NCM caps enum</title>
<updated>2026-04-27T11:40:18Z</updated>
<author>
<name>nminaylov</name>
<email>nm29719@gmail.com</email>
</author>
<published>2026-04-27T11:40:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=2cdd98104ece869f3a5eda3dd9c2b02f5b4c318d'/>
<id>urn:sha1:2cdd98104ece869f3a5eda3dd9c2b02f5b4c318d</id>
<content type='text'>
</content>
</entry>
</feed>
