aboutsummaryrefslogtreecommitdiff
path: root/contrib/ntp/util/(developers-only)
diff options
context:
space:
mode:
authorRyan Libby <rlibby@FreeBSD.org>2024-07-01 15:22:31 +0000
committerRyan Libby <rlibby@FreeBSD.org>2024-07-01 15:22:31 +0000
commitf8a46de2dd481da2bf69747551db30ea453490d5 (patch)
tree5b6cd00f183ad00733fd9486e220a00666efd238 /contrib/ntp/util/(developers-only)
parent2abea9df01655633aabbb9bf3204c90722001202 (diff)
downloadsrc-main.tar.gz
src-main.zip
bluetooth socket sysinit: correct memset initializationHEADmain
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
Diffstat (limited to 'contrib/ntp/util/(developers-only)')
0 files changed, 0 insertions, 0 deletions