diff options
author | 2014-11-20 04:14:15 +0000 | |
---|---|---|
committer | 2014-11-20 04:14:15 +0000 | |
commit | 701167be21267d64d9a2cc38eb1e8042641de3af (patch) | |
tree | 6b9e5e3e0755c9e3b8867ac32c25c6b6de839406 /lib/libc/stdlib | |
parent | better length handling. Fixes a crash found with the afl fuzzer. (diff) | |
download | wireguard-openbsd-701167be21267d64d9a2cc38eb1e8042641de3af.tar.xz wireguard-openbsd-701167be21267d64d9a2cc38eb1e8042641de3af.zip |
Merge from FreeBSD:
--------
r260571 | jilles | 2014-01-12 12:30:55 -0800 (Sun, 12 Jan 2014) | 9 lines
fts: Stat things relative to the directory fd, if possible.
As a result, the kernel needs to process shorter pathnames if fts is not
changing directories (if fts follows symlinks (-L option to utilities), fts
cannot open "." or FTS_NOCHDIR was specified).
Side effect: If pathnames exceed PATH_MAX, [ENAMETOOLONG] is not hit at the
stat stage but later (opendir or application fts_accpath) or not at all.
--------
Prompted by a similar diff from (enh (at) google.com), who also reran a
performance test.
ok millert@
Diffstat (limited to 'lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions