diff --git a/fuzzing/TopicTree.cpp b/fuzzing/TopicTree.cpp index 8bc1897..24a91d1 100644 --- a/fuzzing/TopicTree.cpp +++ b/fuzzing/TopicTree.cpp @@ -9,7 +9,10 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { /* Create topic tree */ - uWS::TopicTree topicTree([](uWS::Subscriber *s, std::pair message) { + uWS::TopicTree topicTree([](uWS::Subscriber *s, uWS::Intersection &intersection) { + + /* For now we do not care about iterating over holes! TODO! */ + std::pair message = intersection.dataChannels; /* Subscriber must not be null, and at this point we have to have subscriptions. * This assumption seems to hold true. */