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)
Tue, Apr 15, 10:48 AM
Unknown Object (File)
Sun, Apr 13, 8:06 PM
Unknown Object (File)
Sun, Apr 13, 7:27 PM
Unknown Object (File)
Sun, Apr 13, 7:09 PM
Unknown Object (File)
Sun, Apr 13, 12:10 PM
Unknown Object (File)
Sun, Apr 13, 9:47 AM
Unknown Object (File)
Sun, Apr 13, 5:39 AM
Unknown Object (File)
Sun, Apr 6, 4:49 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