Files
linux/drivers/char/ipmi
Colin Ian King e0354d147e drivers: ipmi: fix off-by-one bounds check that leads to a out-of-bounds write
The end of buffer check is off-by-one since the check is against
an index that is pre-incremented before a store to buf[]. Fix this
adjusting the bounds check appropriately.

Addresses-Coverity: ("Out-of-bounds write")
Fixes: 51bd6f2915 ("Add support for IPMB driver")
Signed-off-by: Colin Ian King <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Asmaa Mnebhi <[email protected]>
Signed-off-by: Corey Minyard <[email protected]>
2020-01-20 11:01:00 -06:00
..
2019-08-02 07:25:03 -05:00
2019-08-02 07:25:03 -05:00
2019-08-02 07:25:03 -05:00
2019-06-10 14:47:10 -05:00