From 070ec9bd97c48cf55519463d8faa4ca8f4cb6f26 Mon Sep 17 00:00:00 2001 From: Tamo Date: Fri, 5 Nov 2021 17:45:20 +0100 Subject: [PATCH] small update on the README --- filter_parser/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/filter_parser/README.md b/filter_parser/README.md index 44ffdada3..0999b4340 100644 --- a/filter_parser/README.md +++ b/filter_parser/README.md @@ -25,8 +25,9 @@ cargo install cargo-fuzz ``` ### Run +When the filter parser is executed by the fuzzer it's triggering a stackoverflow really fast. We can avoid this problem by limiting the `max_len` of [libfuzzer](https://llvm.org/docs/LibFuzzer.html) at 500 characters. ``` -cargo fuzz run parse +cargo fuzz run parse -- -max_len=500 ``` ## What to do if you find a bug in the parser