summaryrefslogtreecommitdiff
path: root/lib/libc/gen/glob.c
AgeCommit message (Expand)Author
2015-09-14remove null check before free. from Michael McConvilleTed Unangst
2015-06-13in glob() initialize the glob_t before the first failure check.Theo de Raadt
2015-02-05Include stdint.h, not limits.h to get SIZE_MAX. OK guenther@Todd C. Miller
2014-10-08obvious realloc -> reallocarray conversionTheo de Raadt
2013-09-30Use PATH_MAX, NAME_MAX and LOGIN_NAME_MAX not MAXPATHNAMELEN,Todd C. Miller
2012-01-20the glob stat limit is way too low. bump to 2048.Ted Unangst
2011-09-22fix GLOB_KEEPSTAT without GLOB_NOSORT; the implicit sort was beingDamien Miller
2011-09-20In glob(3), limit recursion during matching attempts. Similar to fnmatch fix.Stefan Sperling
2011-05-12When the max number of items for a directory has reached GLOB_LIMIT_READDIRPierre-Yves Ritschard
2011-01-12avoid some integer overflows mostly with GLOB_APPEND and GLOB_DOOFFSDamien Miller
2010-10-08Extend GLOB_LIMIT to cover readdir and stat and bump the malloc limitNicholas Marriott
2010-09-26oops, don't free array before freeing members; spotted by dkrause@Damien Miller
2010-09-24add a GLOB_KEEPSTAT option that retains a copy of the struct statDamien Miller
2010-05-19remove unused variableCharles Longeau
2010-03-23Fix glob(3) to correctly return an error when its buffer space isNicholas Marriott
2009-11-21replacing malloc/realloc dance, by only one reallocCharles Longeau
2009-02-18Add missing braces. This is why we use braces for indented block thatTodd C. Miller
2008-10-01POSIX character class support for fnmatch(3) and glob(3). OK deraadt@Todd C. Miller
2005-11-28unused arg in internal static APITheo de Raadt
2005-08-08zap remaining rcsid.Marc Espie
2004-10-07Kill register and fix some whilespace goofs in a do {} while loop.Todd C. Miller
2004-05-18ansify function definitions and zap some `register'Jean-Francois Brousseau
2003-06-25protosTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-05-24try to use strlcpy and snprintf more; ok variousTheo de Raadt
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained o...Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-04-05remove extra continue statementsTheo de Raadt
2001-04-02use a len in g_Ctoc, easier code; freebsdTheo de Raadt
2001-03-28Fix some glob defects:Todd C. Miller
2001-03-28must spec +1 in this one case...Theo de Raadt
2001-03-28avoid g_Ctoc() overflows; art@ okTheo de Raadt
2001-03-28KNFTheo de Raadt
2001-03-19set gl_pathv to NULL after we free it; christos@netbsd.orgTodd C. Miller
2001-03-18GLOB_LIMIT changes from christosTheo de Raadt
1998-08-14realloc repairTheo de Raadt
1998-01-31Add GLOB_NOESCAPE to turn off backslash escaping and make backslash escapingTodd C. Miller
1997-09-01Make glob(3) XPG4.2 compliant. This means changing GLOB_ABEND toTodd C. Miller
1997-04-12Different fix for buffer overflow. From Keith Bostic <bostic@bostic.com>Todd C. Miller
1996-10-27be careful in the non-setuid case too, what the heckTheo de Raadt
1996-09-11protect $HOME expansion; from das33@cornell.eduTheo de Raadt
1996-08-19Fix RCS idsThorsten Lockert
1995-10-18initial import of NetBSD treeTheo de Raadt