Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: othersrc/usr.bin/tnftp/libnetbsd
Module Name: othersrc
Committed By: lukem
Date: Sun Jul 5 10:03:09 UTC 2020
Modified Files:
othersrc/usr.bin/tnftp/libnetbsd: glob.c
Log Message:
sync to NetBSD glob.c 1.38 (via tnftpd)
Update from NetBSD src/lib/libc/gen/glob.c 1.34 to 1.38
(using the version from othersrc/libexec/tnftpd/libnetbsd/glob.c):
- Minimize changes from upstream NetBSD source.
- 1.35: Use unsigned foo not u_FOO. [Already done]
- 1.36: 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.
- 1.37: 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
- 1.38: Use the symbolic M_ALL and trim with M_MASK.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 othersrc/usr.bin/tnftp/libnetbsd/glob.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index