Cause reported close crash while fuzzing

This commit is contained in:
Alex Hultman
2021-08-29 21:15:47 +02:00
committed by GitHub
parent 0f586876f8
commit 644f3c5ea8
+2 -1
View File
@@ -72,7 +72,8 @@ void test() {
},
.close = [](auto *ws, int code, std::string_view message) {
/* Cause reported crash */
ws->close();
}
}).ws<PerSocketData>("/*", {
/* Settings */