diff options
author | Yuval Peress <peress@google.com> | 2022-11-16 02:54:28 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-11-18 17:19:44 +0000 |
commit | 100bf6c96e2499dbf126afb57fedc565545e6c28 (patch) | |
tree | 10cbad7dd7194c8c205de73d1c27de81a6f80c8a /common/test_util.c | |
parent | 7a3b97fe12c43a81a599067884ee53edacad246d (diff) | |
download | chrome-ec-100bf6c96e2499dbf126afb57fedc565545e6c28.tar.gz |
test: verify flash read hostcommand's overflow conditions
Check for overflow error when the host command response buffer is
smaller (in this case 0) than the requested read size.
BRANCH=none
BUG=none
TEST=twister
Signed-off-by: Yuval Peress <peress@google.com>
Change-Id: I2722efacf12a55239379e6f4203ff1615c87886e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4030064
Reviewed-by: Tomasz Michalec <tmichalec@google.com>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Diffstat (limited to 'common/test_util.c')
0 files changed, 0 insertions, 0 deletions