aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_sched.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2020-01-14 14:40:31 +0000
committerCorey Minyard <[email protected]>2020-01-20 17:01:00 +0000
commite0354d147e5889b5faa12e64fa38187aed39aad4 (patch)
tree8cfed2b3cc8af82ff6a424a19f70c3c18ba79bfc /drivers/gpu/drm/lima/lima_sched.c
parentipmi:ssif: Handle a possible NULL pointer reference (diff)
downloadkernel-e0354d147e5889b5faa12e64fa38187aed39aad4.tar.gz
kernel-e0354d147e5889b5faa12e64fa38187aed39aad4.zip
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: 51bd6f291583 ("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]>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_sched.c')
0 files changed, 0 insertions, 0 deletions