-
Notifications
You must be signed in to change notification settings - Fork 1.4k
wireless/bluetooth: bt_hcicore and bt_uart related fixes. #16179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wireless/bluetooth: bt_hcicore and bt_uart related fixes. #16179
Conversation
|
[Experimental Bot, please feedback here] This PR does NOT fully meet the NuttX requirements. While it provides some information, it is missing crucial details. Here's a breakdown of what's missing and how it can be improved:
In short, this PR provides evidence of building the code, but not of testing the changes. It also lacks the specific details required to understand the impact of the changes. Without this information, reviewers cannot adequately assess the correctness and safety of the proposed changes. |
Driver now validates ACL provided buffer length agaist the size of the data buffer which is defined by CONFIG_BLUETOOTH_UART_RXBUFSIZE. Signed-off-by: Tomasz 'CeDeROM' CEDRO <tomek@cedro.info>
Fix possible stack corruption on missing command response. Signed-off-by: Tomasz 'CeDeROM' CEDRO <tomek@cedro.info>
2209ce8 to
0286bce
Compare
Driver now validates data and H4 header length against CONFIG_IOB_BUFSIZE. Signed-off-by: Tomasz 'CeDeROM' CEDRO <tomek@cedro.info>
0286bce to
3499555
Compare
|
@jerpelea the fixes are confirmed and merged we can backport them to 12.9-RC1 thank you! :-) |
|
@cederom already backported! |
Summary
Bluetooth HCI and UART driver fixes.
Impact
Wireless / Bluetooth: HCI and UART.
Testing
Build verified by @cederom on ESP32-DevkitC and Nucleo-WB55RG. Runtime verification by external party.