#
2f3bda94 |
| 29-May-2019 |
christos <christos@NetBSD.org> |
Add GLOB_TILDE_CHECK (from GNU)
|
#
048b9143 |
| 08-May-2017 |
christos <christos@NetBSD.org> |
use the symbolic M_ALL and trim with M_MASK
|
#
b8fc685b |
| 26-Apr-2017 |
christos <christos@NetBSD.org> |
Switch from a recursive pattern matching algorithm to handle '*' to a backtracking one. Avoids DoS attacks with patterns "a*a*a*a*a*...b" matching against "aaaaaaaaaaaa..." https://research.swtch.com
Switch from a recursive pattern matching algorithm to handle '*' to a backtracking one. Avoids DoS attacks with patterns "a*a*a*a*a*...b" matching against "aaaaaaaaaaaa..." https://research.swtch.com/glob
show more ...
|
#
0f183be6 |
| 04-Sep-2016 |
joerg <joerg@NetBSD.org> |
Bump the glob limits to 512KB for total string size and 64K path entries. The old limits were too small for some important FTP use cases like a pkgsrc repository.
|
#
10126a0b |
| 20-Mar-2013 |
lukem <lukem@NetBSD.org> |
Use "unsigned FOO" instead of less-portable "u_FOO".
|
#
b1baeb1c |
| 21-Feb-2013 |
christos <christos@NetBSD.org> |
remove code that did special handling for . and .. at the end of the path. From mouse@
|
#
7c894664 |
| 27-Dec-2012 |
christos <christos@NetBSD.org> |
Instead of changing the code to match the documentation, change the documentation to match the code. NOCHECK is used only by csh(1) and csh(1) is too broken for words (histchars quoting is "special").
|
#
769edb4d |
| 18-Dec-2012 |
christos <christos@NetBSD.org> |
Do as the man page says, and for GLOB_NOCHECK return the original pattern, not a modified version with the backslash characters removed.
|
#
82be2a4e |
| 30-Oct-2011 |
christos <christos@NetBSD.org> |
PR/45517: Henning Petersen: Add restrict keywords in the definition of glob to match the declaration.
|
#
ec3000cf |
| 14-May-2011 |
christos <christos@NetBSD.org> |
PR/44959: Henning Petersen: glob forgets to closedir on out of space condition.
|
#
5b63bdc2 |
| 22-Jan-2011 |
christos <christos@NetBSD.org> |
remove stray printf.
|
#
e6d36a6a |
| 21-Jan-2011 |
christos <christos@NetBSD.org> |
prevent resource DoS from brace expansion (from Maksymilian Arciemowicz)
|
#
7d79ab95 |
| 06-Sep-2010 |
christos <christos@NetBSD.org> |
Add GLOB_STAR support from Greg Dionne.
|
#
2c086933 |
| 06-Jul-2010 |
christos <christos@NetBSD.org> |
Apply more limits to GLOB_LIMIT, number of stat(2) calls from me and number of readdir(3) calls from Maksymilian Arciemowicz. Also reduce the memory used by matches strings from Maksymilian Arciemowi
Apply more limits to GLOB_LIMIT, number of stat(2) calls from me and number of readdir(3) calls from Maksymilian Arciemowicz. Also reduce the memory used by matches strings from Maksymilian Arciemowicz.
show more ...
|
#
9b94acc7 |
| 02-Jul-2010 |
christos <christos@NetBSD.org> |
Avoid DoS attacks for patterns that have braces. Noted by Maksymilian Arciemowicz. XXX: Pullup to 5.x
|
#
1ef020be |
| 08-Apr-2009 |
christos <christos@NetBSD.org> |
add glob_pattern_p for glibc because cvs needs it and it is a huge mess to compile in the gnu glob code.
|
#
27d03b16 |
| 26-May-2008 |
ad <ad@NetBSD.org> |
Fedora Core 9 doesn't provide ARG_MAX, so use _POSIX_ARG_MAX if it's not available.
|
#
5b9284aa |
| 22-Feb-2008 |
christos <christos@NetBSD.org> |
GLOB_NO_DOTDIRS patch from mouse@ Fixes re-definition of GLOB_PERIOD.
|
#
56709adf |
| 01-Feb-2008 |
christos <christos@NetBSD.org> |
Try to fix previous commit of /.. and /. handling for GLOB_PERIOD. I will write a regression test for this.
|
#
00f5cbb6 |
| 18-Jan-2008 |
christos <christos@NetBSD.org> |
From Richard M Kreuter: GLOB_PERIOD fix for trailing ./ or ../
|
#
14c8a525 |
| 05-Dec-2007 |
christos <christos@NetBSD.org> |
From Richard M Kreuter, add GLOB_PERIOD.
|
#
47fd231e |
| 01-Dec-2006 |
christos <christos@NetBSD.org> |
ansi, minor knf, no functional change.
|
#
1665d5e9 |
| 24-Nov-2006 |
christos <christos@NetBSD.org> |
fix spelling of accommodate; from Zapher.
|
#
3b6811d3 |
| 26-Mar-2006 |
christos <christos@NetBSD.org> |
PR/33123: Murray Armfield: standards compliance & glob.h Certain fields in glob.h need to be size_t; fix this and version glob(3). http://www.opengroup.org/onlinepubs/000095399/basedefs/glob.h.ht
PR/33123: Murray Armfield: standards compliance & glob.h Certain fields in glob.h need to be size_t; fix this and version glob(3). http://www.opengroup.org/onlinepubs/000095399/basedefs/glob.h.html
show more ...
|
#
83e4df35 |
| 24-Jan-2006 |
christos <christos@NetBSD.org> |
Use a separate macro, not DEBUG to enforce 8 bit chars [glob uses internally 16 bit chars]. Fix lint complaint when compiling with 8 bit chars.
|