aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bluetooth/sdpd/sar.c
diff options
context:
space:
mode:
authorKirk McKusick <mckusick@FreeBSD.org>2025-08-22 05:33:48 +0000
committerKirk McKusick <mckusick@FreeBSD.org>2025-08-22 05:33:48 +0000
commit690ae8a2025ca1ce58d08a90a1df1645c81392ea (patch)
tree76b8d43aecc7d0c6fa8589ce9d064c85acd3ba0d /usr.sbin/bluetooth/sdpd/sar.c
parent510e473ff3a6d4620c603c1b9ba06fb2bf5745fd (diff)
Bail out of corrupt directory entries during bootHEADmain
A directory with a zero-valued d_reclen causes boot to hang, This patch checks for directory entries with value zero and bails out rather than spin forever. The hope is that the user has other options. Sadly this was reported on Jun 16 2015 and is just now attended to as part of a sweep of old unclosed phabricator reports. Reported-by: Daniel O'Connor darius-dons.net.au Differential Revision: https://reviews.freebsd.org/D2844 MFC-after: 1 week Sponsored-by: Netflix
Diffstat (limited to 'usr.sbin/bluetooth/sdpd/sar.c')
0 files changed, 0 insertions, 0 deletions