From 1699b214c5de7a5c9ae55b3432dfddd2195cd6cf Mon Sep 17 00:00:00 2001 From: Alex Hultman Date: Mon, 1 Jun 2020 14:51:50 +0200 Subject: [PATCH] Update TopicTree fuzzing --- fuzzing/TopicTree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fuzzing/TopicTree.cpp b/fuzzing/TopicTree.cpp index cbe4e59..577e238 100644 --- a/fuzzing/TopicTree.cpp +++ b/fuzzing/TopicTree.cpp @@ -54,7 +54,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { } } else if (data[4] == 'P') { /* Publish */ - topicTree.publish(lastString, lastString); + topicTree.publish(lastString, {lastString, lastString}); } else if (data[4] == 'D') { /* Drain */ topicTree.drain();