<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tinyusb.git/src/class/cdc/cdc_host.c, 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/cdc/cdc_host.c?h=claude%2Fadoring-pasteur-kbaFa</id>
<link rel='self' href='http://cgit.235523.xyz/tinyusb.git/atom/src/class/cdc/cdc_host.c?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>host/cdc: use local control buffer</title>
<updated>2026-06-06T13:27:56Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2026-06-06T13:27:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=8efcc6fbc4903c1e4b41523510a296a92d4b6a05'/>
<id>urn:sha1:8efcc6fbc4903c1e4b41523510a296a92d4b6a05</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'master' into zlp-hs-on-fs</title>
<updated>2026-03-11T09:20:14Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-03-11T09:20:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=d13f600721671a603579350be1e9c935a0d40547'/>
<id>urn:sha1:d13f600721671a603579350be1e9c935a0d40547</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix CDC host FTDI multiple channel loop</title>
<updated>2026-02-25T03:05:22Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2026-02-24T16:37:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=da21dab358a06106188e2bb06fa71ccd5390fa1a'/>
<id>urn:sha1:da21dab358a06106188e2bb06fa71ccd5390fa1a</id>
<content type='text'>
fix typos for ftdi_process_set_config()
add J-Link GDB + RTT logging instructions
</content>
</entry>
<entry>
<title>fix ep size and midi buffer</title>
<updated>2026-02-11T21:24:34Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2026-02-11T21:24:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=5efa72cd57325615efae6a26ff8c9fe8a9c7b3b5'/>
<id>urn:sha1:5efa72cd57325615efae6a26ff8c9fe8a9c7b3b5</id>
<content type='text'>
Signed-off-by: HiFiPhile &lt;admin@hifiphile.com&gt;
</content>
</entry>
<entry>
<title>fix rx transfer length when high speed capable device/host working at full speed</title>
<updated>2026-02-11T21:04:44Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2026-02-11T21:04:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=135a130ba51d2e41b30f13fbd998f1db32a47470'/>
<id>urn:sha1:135a130ba51d2e41b30f13fbd998f1db32a47470</id>
<content type='text'>
Signed-off-by: HiFiPhile &lt;admin@hifiphile.com&gt;
</content>
</entry>
<entry>
<title>Prevent unused-variable warning in dcd_host.c</title>
<updated>2025-12-26T16:27:05Z</updated>
<author>
<name>Cédric Berger</name>
<email>cedric@precidata.com</email>
</author>
<published>2025-12-26T16:27:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=d77f1e8eb6f53cdb55987165b36e301daf1f9828'/>
<id>urn:sha1:d77f1e8eb6f53cdb55987165b36e301daf1f9828</id>
<content type='text'>
'idx' is not used if CFG_TUH_CDC_LINE_CODING_ON_ENUM is not defined.
</content>
</entry>
<entry>
<title>usbh/cdc: fix typo in cdch_open</title>
<updated>2025-12-12T10:04:54Z</updated>
<author>
<name>HiFiPhile</name>
<email>admin@hifiphile.com</email>
</author>
<published>2025-12-12T10:04:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=ebfe1c56372ff248c43d12d866d9235ad9e83819'/>
<id>urn:sha1:ebfe1c56372ff248c43d12d866d9235ad9e83819</id>
<content type='text'>
Signed-off-by: HiFiPhile &lt;admin@hifiphile.com&gt;
</content>
</entry>
<entry>
<title>move host hacked bulk mps out of tu_edpt_validate()</title>
<updated>2025-12-11T09:41:33Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2025-12-11T09:22:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=b73003745fb18818574baa89367fd618c36ad8b0'/>
<id>urn:sha1:b73003745fb18818574baa89367fd618c36ad8b0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor usbh_class_driver_t's open() to return number of driver len instead of bool. help to simplify parsing configuration</title>
<updated>2025-12-11T08:58:10Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2025-12-11T08:58:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=ef018e364e886852e2789542b5758da6143af614'/>
<id>urn:sha1:ef018e364e886852e2789542b5758da6143af614</id>
<content type='text'>
</content>
</entry>
</feed>
