769acc3656
Check the return value of gasket_get_bar_index function as it can return
a negative one (-EINVAL). If this happens, a negative index is used in
the "gasket_dev->bar_data" array.
Addresses-Coverity-ID: 1438542 ("Negative array index read")
Fixes:
|
||
---|---|---|
.. | ||
apex_driver.c | ||
apex.h | ||
gasket_constants.h | ||
gasket_core.c | ||
gasket_core.h | ||
gasket_interrupt.c | ||
gasket_interrupt.h | ||
gasket_ioctl.c | ||
gasket_ioctl.h | ||
gasket_page_table.c | ||
gasket_page_table.h | ||
gasket_sysfs.c | ||
gasket_sysfs.h | ||
gasket.h | ||
Kconfig | ||
Makefile | ||
TODO |