fuzz: decrease DATA_SIZE_MAX

Fixes oss-fuzz#8658.
This commit is contained in:
Yu Watanabe
2018-11-12 18:08:48 +09:00
parent 27f931d1cd
commit 25cad95c82
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -12,8 +12,13 @@
/* Make sure not to make this smaller than the maximum coredump size.
* See JOURNAL_SIZE_MAX in coredump.c */
#ifndef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
#define ENTRY_SIZE_MAX (1024*1024*770u)
#define DATA_SIZE_MAX (1024*1024*768u)
#else
#define ENTRY_SIZE_MAX (1024*1024*13u)
#define DATA_SIZE_MAX (1024*1024*11u)
#endif
#define LINE_CHUNK 8*1024u
struct iovec_wrapper {