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)
Fri, May 15, 8:35 PM
Unknown Object (File)
Fri, May 15, 8:35 PM
Unknown Object (File)
Fri, May 15, 8:29 PM
Unknown Object (File)
Thu, Apr 30, 3:03 PM
Unknown Object (File)
Thu, Apr 30, 9:26 AM
Unknown Object (File)
Fri, Apr 24, 11:21 PM
Unknown Object (File)
Apr 16 2026, 6:45 PM
Unknown Object (File)
Apr 15 2026, 3:16 AM
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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable