Page MenuHomeFreeBSD

Fix Bluetooth LE related information parsing.
ClosedPublic

Authored by takawata on Sep 24 2019, 2:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 25, 5:46 PM
Unknown Object (File)
Nov 15 2025, 5:42 PM
Unknown Object (File)
Nov 15 2025, 4:03 PM
Unknown Object (File)
Nov 13 2025, 8:47 PM
Unknown Object (File)
Oct 31 2025, 5:43 AM
Unknown Object (File)
Oct 29 2025, 3:41 PM
Unknown Object (File)
Oct 27 2025, 4:33 PM
Unknown Object (File)
Oct 27 2025, 12:02 AM
Subscribers

Details

Summary

Current version of hccontrol do not parse scan buffer correctly and only show local supported feature in a magic number.

This patch will fix this.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

usr.sbin/bluetooth/hccontrol/node.c
250 ↗(On Diff #62503)

here and below. are there any concerns about buffer overrun? do you think the code should check length of data before trying to access it?

This revision was not accepted when it landed; it landed in state Needs Review.Apr 27 2020, 2:49 AM
This revision was automatically updated to reflect the committed changes.