bfc2f7a6ca
The r3.1 specification introduced a new 2 byte field, but
to maintain DWORD alignment, a additional 2 reserved bytes
were added. Forgot those in updating the structure definition
but did include them in the size define leading to a buffer
overrun.
Also use the define so that we don't duplicate the value.
Fixes: Coverity ID 1534095 buffer overrun
Fixes:
|
||
---|---|---|
.. | ||
cxl_cdat.h | ||
cxl_component.h | ||
cxl_device.h | ||
cxl_events.h | ||
cxl_host.h | ||
cxl_pci.h | ||
cxl.h |