diff options
author | Raul E Rangel <rrangel@chromium.org> | 2022-08-19 13:45:39 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-08-19 22:11:09 +0000 |
commit | 171ab28a4c9aab8cff8cf741384b2daf13d60431 (patch) | |
tree | 6255f34763c6aa262b10c9bd6c97bd6fe122e162 /driver | |
parent | 722c3e2024bf23181c5366cf96b78e1586308cd8 (diff) | |
download | chrome-ec-171ab28a4c9aab8cff8cf741384b2daf13d60431.tar.gz |
8042: Add return code to read_cmd_byte
This return code will be used in a follow up CL to verify the length of
lpc_char_buf before reading the array. This will avoid reading a
possibly uninitialized queue entry.
BUG=b:242886255
BRANCH=none
TEST=run unit tests
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Change-Id: I816cbb69e6743e74124f6b847aaa126d12499487
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3843089
Reviewed-by: Yuval Peress <peress@google.com>
Diffstat (limited to 'driver')
0 files changed, 0 insertions, 0 deletions