Skip to content

Commit

Permalink
[libFuzzer] use a valid ASCII string for a dummy seed corpus
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286702 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
kcc committed Nov 12, 2016
1 parent 4258590 commit 8f3d5a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Fuzzer/FuzzerDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ int FuzzerDriver(int *argc, char ***argv, UserCallback Callback) {
}

if (InitialCorpus.empty()) {
InitialCorpus.push_back(Unit({0}));
InitialCorpus.push_back(Unit({'\n'})); // Valid ASCII input.
if (Options.Verbosity)
Printf("INFO: A corpus is not provided, starting from an empty corpus\n");
}
Expand Down

0 comments on commit 8f3d5a3

Please sign in to comment.