diff options
author | Evan Huus <eapache@gmail.com> | 2015-08-02 08:41:27 -0400 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2015-08-02 22:29:35 +0000 |
commit | 08e80b1653383fcbb42538b97e46e78d152b4893 (patch) | |
tree | 9db8aa972457aa9d3eecb5b9e021120fd35191f5 | |
parent | 7c46b25927fd7056532d78c2472e62f6078f7817 (diff) |
Skip files larger than 8MB in valgrind fuzzing
Follow-up to g2eabd35 which added a 20MB limit, this lowers it quite a bit since
we're still seeing out-of-memory failures with files slightly larger than 8MB.
Based on a quick scan of the menagerie this only excludes another dozen or so
files so we won't lose much coverage.
Ping-Bug: 11395
Change-Id: I8d684bebad553408c68b125330f2878deedc3bff
Reviewed-on: https://code.wireshark.org/review/9849
Reviewed-by: Evan Huus <eapache@gmail.com>
-rwxr-xr-x | tools/fuzz-test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/fuzz-test.sh b/tools/fuzz-test.sh index 0da7d48b3b..b2788b107b 100755 --- a/tools/fuzz-test.sh +++ b/tools/fuzz-test.sh @@ -157,7 +157,7 @@ while [ \( $PASS -lt $MAX_PASSES -o $MAX_PASSES -lt 1 \) -a $DONE -ne 1 ] ; do fi echo -n " $CF: " - if [ $VALGRIND -eq 1 -a `ls -s $CF | cut -d' ' -f1` -gt 20000 ]; then + if [ $VALGRIND -eq 1 -a `ls -s $CF | cut -d' ' -f1` -gt 8000 ]; then echo "Too big for valgrind" continue fi |