diff options
author | Colin Ian King <colin.king@canonical.com> | 2021-10-05 18:16:11 +0300 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2021-10-05 18:39:37 +0300 |
commit | 39ce73504695500e043d2851e3d4938fcae89399 (patch) | |
tree | 51a30c9c426a49d46cd5a3ff9d3c35b454d1bc39 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 8332cd4936ed93df42add6541f740ce937e7a5bc (diff) | |
download | linux-39ce73504695500e043d2851e3d4938fcae89399.tar.xz |
ipmi: ipmb: Fix off-by-one size check on rcvlen
There is an off-by-one bounds check on the rcvlen causing a potential
out of bounds write on iidev->rcvmsg. Fix this by using the >= operator
on the bounds check rather than the > operator.
Addresses-Coverity: ("Out-of-bounds write")
Fixes: 0ba0c3c5d1c1 ("ipmi:ipmb: Add initial support for IPMI over IPMB")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Message-Id: <20211005151611.305383-1-colin.king@canonical.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions