Bug #1399 ยป fnmatch-3-Properly-escape-the-terminating-characte.patch
lib/libc/gen/fnmatch.c | ||
---|---|---|
&patmbs);
|
||
if (pclen == (size_t)-1 || pclen == (size_t)-2)
|
||
return (FNM_NOMATCH);
|
||
if (pclen == 0)
|
||
pc = '\\';
|
||
pattern += pclen;
|
||
}
|
||
/* FALLTHROUGH */
|