From 644f3c5ea8aaad7ec48bd34adfed39f2a65445d0 Mon Sep 17 00:00:00 2001 From: Alex Hultman Date: Sun, 29 Aug 2021 21:15:47 +0200 Subject: [PATCH] Cause reported close crash while fuzzing --- fuzzing/EpollEchoServer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fuzzing/EpollEchoServer.cpp b/fuzzing/EpollEchoServer.cpp index cd16804..3143e3c 100644 --- a/fuzzing/EpollEchoServer.cpp +++ b/fuzzing/EpollEchoServer.cpp @@ -72,7 +72,8 @@ void test() { }, .close = [](auto *ws, int code, std::string_view message) { - + /* Cause reported crash */ + ws->close(); } }).ws("/*", { /* Settings */