diff options
author | Ian Moffett <ian@osmora.org> | 2025-08-09 00:00:25 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-08-09 00:02:00 -0400 |
commit | 807bfd213ad37c3fabb90f9d9388e74934a1a85c (patch) | |
tree | 07a083d1091538d53735eb9036f7a7a0484b1c7a /lib/libc/src/hyra/sysctl.c | |
parent | 3537d35f0dd3fad8a819578adeca75ed120b5966 (diff) |
kernel: xhci: Ensure portno is valid for portsc
In the previous implementation, passing 0 or values higher than
'hc->maxports' would not be filtered and would result in
underflow/overflow
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/libc/src/hyra/sysctl.c')
0 files changed, 0 insertions, 0 deletions