mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-27 12:22:09 +00:00
- pyr@cvs.openbsd.org 2011/05/12 07:15:10
[openbsd-compat/glob.c] When the max number of items for a directory has reached GLOB_LIMIT_READDIR an error is returned but closedir() is not called. spotted and fix provided by Frank Denis obsd-tech@pureftpd.org ok otto@, millert@
This commit is contained in:
parent
e8a82c5faf
commit
e01a627047
@ -1,3 +1,12 @@
|
||||
20110922
|
||||
- OpenBSD CVS Sync
|
||||
- pyr@cvs.openbsd.org 2011/05/12 07:15:10
|
||||
[openbsd-compat/glob.c]
|
||||
When the max number of items for a directory has reached GLOB_LIMIT_READDIR
|
||||
an error is returned but closedir() is not called.
|
||||
spotted and fix provided by Frank Denis obsd-tech@pureftpd.org
|
||||
ok otto@, millert@
|
||||
|
||||
20110909
|
||||
- (dtucker) [entropy.h] Bug #1932: remove old definition of init_rng. From
|
||||
Colin Watson.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: glob.c,v 1.35 2011/01/12 01:53:14 djm Exp $ */
|
||||
/* $OpenBSD: glob.c,v 1.36 2011/05/12 07:15:10 pyr Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
* The Regents of the University of California. All rights reserved.
|
||||
@ -697,7 +697,8 @@ glob3(Char *pathbuf, Char *pathbuf_last, Char *pathend, Char *pathend_last,
|
||||
errno = 0;
|
||||
*pathend++ = SEP;
|
||||
*pathend = EOS;
|
||||
return(GLOB_NOSPACE);
|
||||
err = GLOB_NOSPACE;
|
||||
break;
|
||||
}
|
||||
|
||||
/* Initial DOT must be matched literally. */
|
||||
|
Loading…
Reference in New Issue
Block a user