Stricter realpath checks

This commit is contained in:
cpq committed 2021-02-11 15:03:22 +00:00
1 parent ae5f6c0920
commit d5a1d5a5e8
5 files changed
+21 -15

No files matched your search

+1 -1
View File
@@ -270,7 +270,7 @@ typedef int socklen_t;
#ifndef EWOULDBLOCK
#define EWOULDBLOCK WSAEWOULDBLOCK
#endif
#define realpath(a, b) _fullpath((b), (a), 512)
#define realpath(a, b) _fullpath((b), (a), MG_PATH_MAX)
#ifndef va_copy
#ifdef __va_copy
#define va_copy __va_copy