HomeFreeBSD

Fix race in USB PF which can happen if we stop tracing exactly when

Description

Fix race in USB PF which can happen if we stop tracing exactly when
the kernel is tapping an USB transfer. This leads to a NULL pointer
access. The solution is to only trace while the USB bus lock is
locked.

MFC after: 2 weeks

Details

Provenance
• hselaskyAuthored on
Parents
rS286798: Stop parsing digits if the value already exceeds USHRT_MAX.
Branches
Unknown
Tags
Unknown