summaryrefslogtreecommitdiff
path: root/baseboard
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2021-04-10 08:22:05 -0700
committerCommit Bot <commit-bot@chromium.org>2021-06-23 20:01:49 +0000
commit87f59b57817d5800fd929938b2dca914bad14d2c (patch)
tree31c09fac0df1518ab163e7a4f9eb6cbca1c15d09 /baseboard
parent3c74b3a868c2dc955d5396693967ac87bc0f9b93 (diff)
downloadchrome-ec-87f59b57817d5800fd929938b2dca914bad14d2c.tar.gz
pchg_fuzz: Ignore too large input
This patch makes test_fuzz_one_input return immediately if the input data is larger than the buffer size (of the harness). This patch also makes the test include the message header size to compute the input buffer size so that it can properly process MAX_MESSAGES messages. BUG=b:191868799, b:190841496 BRANCH=None TEST=make run-pchg_fuzz Change-Id: Ifb51e989fe62bfce79da713b3f612c080c9c19de Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2983717 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'baseboard')
0 files changed, 0 insertions, 0 deletions