about summary refs log tree commit diff
path: root/src/regex/glob.c
Commit message (Collapse)AuthorAgeFilesLines
* safety fix for glob's vla usage: disallow patterns longer than PATH_MAXRich Felker2011-06-051-0/+2
| | | | | | | | | | | this actually inadvertently disallows some valid patterns with redundant / or * characters, but it's better than allowing unbounded vla allocation. eventually i'll write code to move the pattern to the stack and eliminate redundancy to ensure that it fits in PATH_MAX at the beginning of glob. this would also allow it to be modified in place for passing to fnmatch rather than copied at each level of recursion.
* initial check-in, version 0.5.0 v0.5.0Rich Felker2011-02-121-0/+238