You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(usb_host_hid): Changed the handling of reallocating ctrl_xfer buffer on large report descriptors
- Made all the null checks before any dereference
- Fixed the unlock path on usb_host_transfer_alloc() error
- Limited req->wLength to some sane maximum (2048 bytes)
- Enabled the tests for large and extra large Report Decriptor in pytest to run it in CI
All notable changes to this project will be documented in this file.
2
+
3
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
4
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5
+
6
+
## [Unreleased]
7
+
8
+
### Fixed
9
+
10
+
- Fixed a vulnerability with overwrite freed heap memory during `hid_host_get_report_descriptor()`
11
+
12
+
### Added
13
+
14
+
- Added a limitation for the HID report descriptor size to a maximum of 2048 bytes
15
+
16
+
## [1.0.4] - 2025-09-24
17
+
18
+
### Added
19
+
2
20
- Added support for ESP32-H4
3
21
4
-
## 1.0.3
5
-
- Fixed a bug with interface mismatch on EP IN transfer complete while several HID devices are present.
6
-
- Fixed a bug during device freeing, while detaching one of several attached HID devices.
22
+
## [1.0.3] - 2024-08-20
23
+
24
+
### Fixed
25
+
26
+
- Fixed a bug with interface mismatch on EP IN transfer complete while several HID devices are present
27
+
- Fixed a bug during device freeing, while detaching one of several attached HID devices
28
+
29
+
## [1.0.2] - 2024-01-25
7
30
8
-
##1.0.2
31
+
### Added
9
32
10
33
- Added support for ESP32-P4
11
-
- Fixed device open procedure for HID devices with multiple non-sequential interfaces.
34
+
- Fixed device open procedure for HID devices with multiple non-sequential interfaces
35
+
36
+
## [1.0.1] - 2023-10-04
37
+
38
+
### Added
39
+
40
+
- Added `hid_host_get_device_info()` to get the basic information of a connected USB HID device
41
+
42
+
### Fixed
12
43
13
-
## 1.0.1
44
+
- Fixed a bug where configuring the driver with `create_background_task = false` did not properly initialize the driver. This lead to `the hid_host_uninstall()` hang-up
45
+
- Fixed a bug where `hid_host_uninstall()` would cause a crash during the call while USB device has not been removed
14
46
15
-
- Fixed a bug where configuring the driver with `create_background_task = false` did not properly initialize the driver. This lead to `the hid_host_uninstall()` hang-up.
16
-
- Fixed a bug where `hid_host_uninstall()` would cause a crash during the call while USB device has not been removed.
17
-
- Added `hid_host_get_device_info()` to get the basic information of a connected USB HID device.
0 commit comments