Page MenuHomeFreeBSD

cam: fix integer overflow during inquiry
ClosedPublic

Authored by trasz on Apr 26 2021, 12:36 PM.
Tags
None
Referenced Files
F81977782: D29991.id.diff
Wed, Apr 24, 1:04 AM
Unknown Object (File)
Wed, Apr 10, 6:20 PM
Unknown Object (File)
Sun, Mar 31, 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable