Page MenuHomeFreeBSD

[aacraid] Prevent sense data from causing a buffer overflow
Needs ReviewPublic

Authored by luporl on Thu, Feb 13, 5:59 PM.

Details

Reviewers
scottl
Summary

On a PowerPC64 with an Adaptec RAID Controller with PCI device ID 0x028d, sense data was causing a buffer overflow, because of wrong max sense length logic.

There is a work in progress to make aacraid driver compatible with big-endian/PowerPC, in which this issue was found.

Diff Detail

Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 29354
Build 27253: arc lint + arc unit

Event Timeline

luporl created this revision.Thu, Feb 13, 5:59 PM
luporl added a subscriber: jhibbits.