Skip to content

Commit 4b9f932

Browse files
committed
more
1 parent 27da43c commit 4b9f932

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tools/fuzzing/fuzzing.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1489,7 +1489,7 @@ Function* TranslateToFuzzReader::addFunction() {
14891489
// Pick params and results. There may be an interesting heap type we can use.
14901490
std::optional<HeapType> funcType;
14911491
auto& funcTypes = interestingHeapSubTypes[HeapTypes::func];
1492-
if (!funcTypes.empty()) {
1492+
if (!funcTypes.empty() && oneIn(2)) {
14931493
auto type = pick(funcTypes);
14941494
if (type.getSignature().params.size() < (size_t)fuzzParams->MAX_PARAMS) {
14951495
// This is suitable for us.

0 commit comments

Comments
 (0)