diff --git a/compat/mingw/compat-util.c b/compat/mingw/compat-util.c index 9dffe592d49480..c6cd7ac9be5452 100644 --- a/compat/mingw/compat-util.c +++ b/compat/mingw/compat-util.c @@ -1427,7 +1427,7 @@ static const char *quote_arg_msys2(const char *arg) static const char *parse_interpreter(const char *cmd) { - static char buf[100]; + static char buf[MAX_PATH]; char *p, *opt; ssize_t n; /* read() can return negative values */ int fd;