[ovs-dev] [PATCH 2/2] ossfuzz: Remove max_len=100 option

bshastry at sect.tu-berlin.de bshastry at sect.tu-berlin.de
Tue Oct 2 15:56:58 UTC 2018


From: Bhargava Shastry <bshastry at sect.tu-berlin.de>

The max_len field, which stipulates the maximum length of
 fuzzed input to feed a fuzzer target, was set to 100 for 
the ovn expr_parse_target.

In discussions with Ben, this was deemed too restrictive.
Google folks also suggested the removal of this option 
since it cannot be uniformly passed on to all fuzzer 
engines behind oss-fuzz.

For the future, the suggested way to limit the length of
 fuzzed input is in the C code of the test harness itself.

Signed-off-by: Bhargava Shastry <bshastry at sect.tu-berlin.de>
---
 tests/oss-fuzz/config/expr_parse_target.options | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/oss-fuzz/config/expr_parse_target.options b/tests/oss-fuzz/config/expr_parse_target.options
index 4dfedfd84..fc254e84f 100644
--- a/tests/oss-fuzz/config/expr_parse_target.options
+++ b/tests/oss-fuzz/config/expr_parse_target.options
@@ -1,4 +1,3 @@
 [libfuzzer]
 dict = expr.dict
 close_fd_mask = 3
-max_len = 100
-- 
2.17.1



More information about the dev mailing list