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, Nov 23, 2:50 PM
Unknown Object (File)
Sun, Nov 17, 8:02 AM
Unknown Object (File)
Oct 2 2024, 10:58 AM
Unknown Object (File)
Oct 1 2024, 2:56 AM
Unknown Object (File)
Sep 30 2024, 7:49 PM
Unknown Object (File)
Sep 30 2024, 5:19 PM
Unknown Object (File)
Sep 30 2024, 9:24 AM
Unknown Object (File)
Sep 27 2024, 12:29 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