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, Dec 22, 7:28 PM
Unknown Object (File)
Tue, Dec 17, 2:42 PM
Unknown Object (File)
Wed, Dec 4, 5:11 PM
Unknown Object (File)
Wed, Nov 27, 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
Unknown Object (File)
Oct 1 2024, 2:56 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