mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-06 15:51:25 +00:00
Stricter realpath checks
This commit is contained in:
1 parent
ae5f6c0920
commit
d5a1d5a5e8
5 files changed
+21
-15
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user