summaryrefslogtreecommitdiff
path: root/common/test_util.c
diff options
context:
space:
mode:
authorYuval Peress <peress@google.com>2022-11-16 02:54:28 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-11-18 17:19:44 +0000
commit100bf6c96e2499dbf126afb57fedc565545e6c28 (patch)
tree10cbad7dd7194c8c205de73d1c27de81a6f80c8a /common/test_util.c
parent7a3b97fe12c43a81a599067884ee53edacad246d (diff)
downloadchrome-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