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)
Wed, Apr 24, 1:04 AM
Unknown Object (File)
Wed, Apr 10, 6:20 PM
Unknown Object (File)
Mar 31 2024, 12:37 PM
Unknown Object (File)
Mar 16 2024, 10:54 PM
Unknown Object (File)
Mar 6 2024, 3:04 AM
Unknown Object (File)
Feb 27 2024, 10:42 PM
Unknown Object (File)
Jan 19 2024, 10:13 AM
Unknown Object (File)
Jan 15 2024, 9:48 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