The NetBSD Project

CVS log for src/lib/libc/gen/glob.c

[BACK] Up to [] / src / lib / libc / gen

Request diff between arbitrary revisions

Default branch: MAIN
Current tag: netbsd-5-0

Revision / (download) - annotate - [select for diffs], Sun Apr 24 15:41:31 2011 UTC (7 years, 8 months ago) by riz
Branch: netbsd-5-0
Changes since +56 -41 lines
Diff to previous (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

Pull up following revision(s) (requested by spz in ticket #1597):
	lib/libc/gen/glob.c: revision 1.28
	lib/libc/gen/glob.c: revision 1.29
prevent resource DoS from brace expansion (from Maksymilian Arciemowicz)
remove stray printf.

Revision / (download) - annotate - [select for diffs], Mon Jul 19 18:15:17 2010 UTC (8 years, 6 months ago) by riz
Branch: netbsd-5-0
Changes since 1.23: +48 -25 lines
Diff to previous 1.23 (colored)

Pull up following revision(s) (requested by christos in ticket #1430):
	lib/libc/gen/glob.c: revision 1.25
	lib/libc/gen/glob.c: revision 1.26
	lib/libc/gen/glob.3: revision 1.37
	crypto/dist/ssh/sftp.c: patch
	crypto/dist/ssh/sftp-glob.c: patch
Add GLOB_LIMIT to the glob calls to prevent DoS attacks.
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.
Avoid DoS attacks for patterns that have braces. Noted by Maksymilian
XXX: Pullup to 5.x

Revision 1.23 / (download) - annotate - [select for diffs], Mon May 26 13:06:38 2008 UTC (10 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, netbsd-5-base, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, christos-time_t-nbase, christos-time_t-base
Branch point for: netbsd-5-0, netbsd-5, matt-nb5-mips64, jym-xensuspend, christos-time_t
Changes since 1.22: +7 -2 lines
Diff to previous 1.22 (colored)

Fedora Core 9 doesn't provide ARG_MAX, so use _POSIX_ARG_MAX if it's
not available.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>