Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It is probably a Glibc bug that sscanf as used by bluez accepts 0x01 for this value[1]. For portability, use the unprefixed hex value. Based on bluez's own documentation, I don't think the 0x is required[2]. [1]: https://www.openwall.com/lists/libc-coord/2024/10/15/2 [2]: https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/client/bluetoothctl-monitor.rst?id=3d9900eb754d277ef6abf21bed827cdc9e79ddb4
- Loading branch information