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)
Sun, Nov 23, 12:28 AM
Unknown Object (File)
Wed, Nov 19, 4:04 PM
Unknown Object (File)
Tue, Nov 11, 1:14 AM
Unknown Object (File)
Nov 8 2025, 1:28 AM
Unknown Object (File)
Nov 7 2025, 2:18 PM
Unknown Object (File)
Oct 26 2025, 4:26 PM
Unknown Object (File)
Oct 26 2025, 2:25 AM
Unknown Object (File)
Oct 25 2025, 7:51 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable