summaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorRobert Swiecki <robert@swiecki.net>2018-01-10 02:21:58 +0100
committerRobert Swiecki <robert@swiecki.net>2018-01-10 02:21:58 +0100
commit599dee1c204ab59e16e29a783601ffabf0aa7cd9 (patch)
treeb94d09efd42ba7c57a777a6d0cfd6c8eacd92a64 /input.c
parent35fa6a2c58a4cb876885f28eeb4d0042f160eb33 (diff)
downloadhonggfuzz-599dee1c204ab59e16e29a783601ffabf0aa7cd9.tar.gz
Different way of pasing data to persistent process, now as a memory-file-descriptor and not through the socket
Diffstat (limited to 'input.c')
-rw-r--r--input.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/input.c b/input.c
index 2aa3fafe..9f7ba90d 100644
--- a/input.c
+++ b/input.c
@@ -100,10 +100,6 @@ static bool input_getDirStatsAndRewind(honggfuzz_t* hfuzz) {
hfuzz->maxFileSz = maxSize;
}
}
- if (hfuzz->persistent && hfuzz->maxFileSz > (1024U * 128)) {
- LOG_W("Persistent mode enabled, lowering maximum input size to 128KiB");
- hfuzz->maxFileSz = 1024U * 128;
- }
if (hfuzz->io.fileCnt == 0U) {
LOG_W("No usable files in the input directory '%s'", hfuzz->io.inputDir);