Page MenuHomeFreeBSD

cam: fix integer overflow during inquiry
ClosedPublic

Authored by trasz on Apr 26 2021, 12:36 PM.
Tags
None
Referenced Files
F107574645: D29991.diff
Thu, Jan 16, 2:51 AM
Unknown Object (File)
Sun, Dec 22, 7:28 PM
Unknown Object (File)
Tue, Dec 17, 2:42 PM
Unknown Object (File)
Dec 4 2024, 5:11 PM
Unknown Object (File)
Nov 27 2024, 1:11 PM
Unknown Object (File)
Nov 23 2024, 2:50 PM
Unknown Object (File)
Nov 17 2024, 8:02 AM
Unknown Object (File)
Oct 2 2024, 10:58 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