summaryrefslogtreecommitdiffstats
path: root/fuzz
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2017-05-29 17:22:14 +0200
committerGravatar Nikias Bassen2017-05-29 17:22:14 +0200
commit2fecc5c03417fbb197d373691fc825d1f9ec3299 (patch)
tree2987a9508b9fb72ec9c59da246075d07ba1f04fe /fuzz
parent0118009bb56e84e6fa57dda7bf473958ae01256f (diff)
downloadlibplist-2fecc5c03417fbb197d373691fc825d1f9ec3299.tar.gz
libplist-2fecc5c03417fbb197d373691fc825d1f9ec3299.tar.bz2
fuzz: Add appropriate -max_len to fuzzers for testing
Diffstat (limited to 'fuzz')
-rwxr-xr-xfuzz/test-fuzzers.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/fuzz/test-fuzzers.sh b/fuzz/test-fuzzers.sh
index 5c758c4..b0a8367 100755
--- a/fuzz/test-fuzzers.sh
+++ b/fuzz/test-fuzzers.sh
@@ -18,13 +18,13 @@ if ! test -d xplist-input || ! test -d bplist-input; then
fi
echo "### TESTING xplist_fuzzer ###"
-if ! ./xplist_fuzzer xplist-input -dict=xplist.dict -runs=10000; then
+if ! ./xplist_fuzzer xplist-input -dict=xplist.dict -max_len=65536 -runs=10000; then
cd ${CURDIR}
exit 1
fi
echo "### TESTING bplist_fuzzer ###"
-if ! ./bplist_fuzzer bplist-input -dict=bplist.dict -runs=10000; then
+if ! ./bplist_fuzzer bplist-input -dict=bplist.dict -max_len=4096 -runs=10000; then
cd ${CURDIR}
exit 1
fi