Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: othersrc/libexec/tnftpd/libnetbsd



Module Name:    othersrc
Committed By:   lukem
Date:           Thu Jan 24 04:25:23 UTC 2019

Modified Files:
        othersrc/libexec/tnftpd/libnetbsd: glob.c

Log Message:
sync to NetBSD glob.c 1.38

Update from NetBSD src/lib/libc/gen/glob.c 1.34 to 1.38:
- 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.6 -r1.7 othersrc/libexec/tnftpd/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