diff --git a/lib/compat/mingw.c b/lib/compat/mingw.c index 26aea47c81..2f6b4f1e2f 100644 --- a/lib/compat/mingw.c +++ b/lib/compat/mingw.c @@ -1753,7 +1753,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;