mirror of
https://github.com/opnsense/src.git
synced 2026-06-06 07:12:52 -04:00
gcc -Wmemset-elt-size diagnosed this. The code was only initializing the first 1/sizeof(long) bytes. On 64-bit systems, this would mean only events up to 0x20 were initialized. This effectively reverses the security policy for some events with higher ids, now permitting them on unprivileged sockets. Two that are defined are NG_HCI_EVENT_LE (0x3e) and NG_HCI_EVENT_BT_LOGO (0xfe). PR: 280039 Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D45707 |
||
|---|---|---|
| .. | ||
| ng_btsocket.c | ||
| ng_btsocket_hci_raw.c | ||
| ng_btsocket_l2cap.c | ||
| ng_btsocket_l2cap_raw.c | ||
| ng_btsocket_rfcomm.c | ||
| ng_btsocket_sco.c | ||
| TODO | ||