Up to [cvs.NetBSD.org] / src / lib / libc / gen
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: netbsd-5-2-RC1
Revision 1.32.8.1 / (download) - annotate - [select for diffs], Mon Jul 19 18:14:09 2010 UTC (13 years, 9 months ago) by riz
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
matt-nb5-pq3-base,
matt-nb5-pq3
Changes since 1.32: +9 -4
lines
Diff to previous 1.32 (colored) next main 1.33 (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 Arciemowicz. XXX: Pullup to 5.x