diff --git a/compat/mingw.c b/compat/mingw.c index 6c0d385ceb6bcc..8507b8fd5f434d 100644 --- a/compat/mingw.c +++ b/compat/mingw.c @@ -1355,7 +1355,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; int n, fd;