Page MenuHomeFreeBSD

Fix parameter reversal potentially causing buffer overrun.
ClosedPublic

Authored by dab on Mar 18 2020, 6:14 PM.

Details

Summary

Two arguments were reversed in calls to cam_strvis() in
nvme_da.c. This was found by a Coverity scan of this code within
Dell (Isilon). These are also marked in the FreeBSD Coverity scan
as CIDs 1400526 & 1400531.

Test Plan

Code inspection

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.