Page MenuHomeFreeBSD

cam: fix integer overflow during inquiry
ClosedPublic

Authored by trasz on Apr 26 2021, 12:36 PM.
Tags
None
Referenced Files
F163109260: D29991.id88166.diff
Mon, Jul 20, 3:52 AM
Unknown Object (File)
Sat, Jul 18, 11:49 AM
Unknown Object (File)
Sat, Jul 4, 8:39 PM
Unknown Object (File)
Fri, Jul 3, 11:16 PM
Unknown Object (File)
Fri, Jul 3, 11:12 PM
Unknown Object (File)
Fri, Jul 3, 7:21 PM
Unknown Object (File)
Fri, Jul 3, 7:19 PM
Unknown Object (File)
Fri, Jul 3, 6:50 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