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)
Mon, Mar 17, 7:31 AM
Unknown Object (File)
Sat, Mar 15, 9:48 PM
Unknown Object (File)
Sat, Mar 15, 8:28 PM
Unknown Object (File)
Mon, Feb 24, 1:27 AM
Unknown Object (File)
Tue, Feb 18, 6:52 AM
Unknown Object (File)
Feb 15 2025, 10:12 AM
Unknown Object (File)
Jan 16 2025, 5:54 AM
Unknown Object (File)
Jan 16 2025, 5:53 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