HomeFreeBSD

cam: add missing zeroing of a stack-allocated CCB.

Description

cam: add missing zeroing of a stack-allocated CCB.

This could cause a panic at boot.

Reported By: Shawn Webb <shawn.webb AT hardenedbsd.org>
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.

(cherry picked from commit 0f206cc91279e630ad9e733eb6e330b7dbe6c70e)

Details

Provenance
traszAuthored on May 16 2021, 9:28 AM
zleiCommitted on Jan 20 2025, 12:39 PM
Parents
rGee2a1bc81a17: cam: make sure to clear even more CCBs allocated on the stack
Branches
Unknown
Tags
Unknown