diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/glob.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/glob.c b/Src/glob.c index af5d0821c..c9ec97e0e 100644 --- a/Src/glob.c +++ b/Src/glob.c @@ -2194,6 +2194,8 @@ bracechardots(char *str, convchar_t *c1p, convchar_t *c2p) pnext[0] != '.' || pnext[1] != '.') return 0; pnext += 2; + if (!*pnext) + return 0; if (itok(*pnext)) { if (*pnext == Inbrace) return 0; |