Page MenuHomeFreeBSD

cam: fix integer overflow during inquiry
ClosedPublic

Authored by trasz on Apr 26 2021, 12:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 14, 3:35 AM
Unknown Object (File)
Fri, Mar 13, 9:32 PM
Unknown Object (File)
Jan 31 2026, 7:39 PM
Unknown Object (File)
Jan 31 2026, 12:13 PM
Unknown Object (File)
Dec 16 2025, 2:54 AM
Unknown Object (File)
Dec 15 2025, 4:26 AM
Unknown Object (File)
Nov 23 2025, 12:28 AM
Unknown Object (File)
Nov 19 2025, 4:04 PM
Subscribers

Details

Summary

From my understanding this could happen with iSCSI LUNs with
unusually long names. The bug would make CAM fail to retrieve
the full inquiry data. Instead of bumping the size of the local
variable, just use a macro.

Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 38864
Build 35753: arc lint + arc unit