Fix #1453 - do not allow empty wakeup buffer

This commit is contained in:
Sergey Lyubka committed 2022-01-21 12:35:28 +00:00
1 parent 59c4dfa33b
commit e565a7e73d
5 files changed
+6 -10

No files matched your search

+2
View File
@@ -15,6 +15,7 @@
#endif
#include <ctype.h>
#include <direct.h>
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
@@ -70,6 +71,7 @@ typedef int socklen_t;
#define realpath(a, b) _fullpath((b), (a), MG_PATH_MAX)
#define sleep(x) Sleep(x)
#define mkdir(a, b) _mkdir(a)
#ifndef va_copy
#ifdef __va_copy