Commit 30cf70e9 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Uh, increment the pointer in globi()

Fixes crash reported in #381.
parent 1f0d53ca
Pipeline #2934 passed with stage
in 9 minutes and 36 seconds
......@@ -321,6 +321,7 @@ int globi(const char *p, int flags,
len += sprintf(pattern + len, "[%c%c]", toupper(*p), tolower(*p));
else
pattern[len++] = *p;
p++;
}
}
pattern[len] = '\0';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment