[fuzzing] Fix msan error in fuzzer (#34783)

pull/34784/head
Craig Tiller 1 year ago committed by GitHub
parent 53ae4d4df1
commit 888a7e87cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      test/core/end2end/fuzzers/api_fuzzer.cc
  2. 35
      test/core/end2end/fuzzers/api_fuzzer_corpus/5092827311702016

@ -126,7 +126,7 @@ class FuzzerDNSResolver : public grpc_core::DNSResolver {
if (name_ == "server") {
std::vector<grpc_resolved_address> addrs;
grpc_resolved_address addr;
addr.len = 0;
memset(&addr, 0, sizeof(addr));
addrs.push_back(addr);
on_done_(std::move(addrs));
} else {

@ -0,0 +1,35 @@
actions {
create_channel {
target: "dns:server"
channel_args {
}
}
}
actions {
create_call {
method {
value: "q"
}
timeout: 31232
}
}
actions {
queue_batch {
operations {
send_initial_metadata {
}
}
}
}
actions {
sleep_ms: 262144
}
actions {
}
actions {
watch_connectivity: 0
}
config_vars {
dns_resolver: "q"
experiments: 18446744073709551607
}
Loading…
Cancel
Save