HomeFreeBSD

ctl: fix uninitialized data used by PREVENT ALLOW MEDIUM REMOVAL

Description

ctl: fix uninitialized data used by PREVENT ALLOW MEDIUM REMOVAL

Zero-initialize the bitmap of preventers. Otherwise, the START STOP
UNIT command may not have the intended effect.

MFC after: 2 weeks
Sponsored by: Axcient
Reviewed by: emaste, markj
Pull Request: https://github.com/freebsd/freebsd-src/pull/1409

Details

Provenance
asomersAuthored on Aug 26 2024, 8:44 PM
Parents
rGe234a72bb8c0: ctl: add tests for PREVENT ALLOW MEDIUM REMOVAL
Branches
Unknown
Tags
Unknown