Searched hist:b5735546bd1f5a853627b31221dd4a4a2452061b (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/drivers/bnxt/ |
| H A D | bnxt_fw.c | b5735546bd1f5a853627b31221dd4a4a2452061b Thu Mar 19 08:58:44 UTC 2020 Jens Wiklander <jens.wiklander@linaro.org> drivers: bnxt: add overflow check in bnxt_copy_crash_dump()
Adds a check that offset + len doesn't overflow when checking that the resulting size is still less than BNXT_CRASH_LEN.
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Jerome Forissier <jerome@forissier.org> Reported-by: Bastien Simondi <bsimondi@netflix.com> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
|