Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

udp listener fuzzer #15974

Merged
merged 9 commits into from
Apr 21, 2021
Prev Previous commit
Next Next commit
remove printf statements.
Signed-off-by: davkor <david@adalogics.com>
  • Loading branch information
DavidKorczynski committed Apr 14, 2021
commit 1bdeee1d8075b6b1a064976c8251eafd8d1c8392
3 changes: 0 additions & 3 deletions test/common/network/udp_fuzz.cc
Original file line number Diff line number Diff line change
@@ -74,12 +74,9 @@ class UdpFuzz {
total_packets = provider.ConsumeIntegralInRange<uint16_t>(1, 15);
DavidKorczynski marked this conversation as resolved.
Show resolved Hide resolved
sent_packets = 0;
Network::Test::UdpSyncPeer client_(ip_version_);
// printf("Sending a total of %d\n", total_packets);
for (uint16_t i = 0; i < total_packets; i++) {
// printf("Sending \n");
std::string packet_ =
provider.ConsumeBytesAsString(provider.ConsumeIntegralInRange<uint32_t>(1, 3000));
// printf("packet size: %lu\n", packet_.size());
if (packet_.size() == 0) {
packet_ = "EMPTY_PACKET";
DavidKorczynski marked this conversation as resolved.
Show resolved Hide resolved
}