Page MenuHomeFreeBSD

misc minor fixes in mpr(4)

Authored by asomers on Dec 21 2016, 10:57 PM.



misc minor fixes in mpr(4)


  • Fix a potential null pointer dereference (CID 1305731)
  • Check for overrun of the ccb_scsiio.cdb_io.cdb_bytes buffer (CID 1211934)


  • Nullify a dangling pointer in mprsas_get_sata_identify
  • Fix a memory leak in mprsas_SSU_to_SATA_devices (CID 1211935)
Test Plan

Run ZFS I/O to SATA devices connected to an mpr(4) controller

Diff Detail

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

Event Timeline

asomers updated this revision to Diff 23184.Dec 21 2016, 10:57 PM
asomers retitled this revision from to misc minor fixes in mpr(4).
asomers updated this object.
asomers edited the test plan for this revision. (Show Details)
asomers added reviewers: slm, ken.
slm accepted this revision.Jan 3 2017, 5:28 PM
slm edited edge metadata.

Looks good to me. Thanks!

This revision is now accepted and ready to land.Jan 3 2017, 5:28 PM
This revision was automatically updated to reflect the committed changes.