commit | cb74c65f5e722d56d24fbbd4cb164b09371a85fb | [log] [tgz] |
---|---|---|
author | Kostya Serebryany <kcc@google.com> | Wed Nov 15 16:45:17 2017 +0000 |
committer | Kostya Serebryany <kcc@google.com> | Wed Nov 15 16:45:17 2017 +0000 |
tree | d7d02049340f7f432a3618ae20795163ede6a27e | |
parent | 8eb9ca25808742fffa61413cdf3ce26dd8c0704e [diff] |
libfuzzer: Fix file listing on some filesystems Summary: For some filesystems, readdir will not populate dirent::d_type with valuable information. This causes libfuzzer to proceed with an empty corpus, instead of the file it contains. This has been tested on a server using XFS. It should fix https://bugs.llvm.org//show_bug.cgi?id=25991 Reviewers: kcc Reviewed By: kcc Differential Revision: https://reviews.llvm.org/D40028 llvm-svn: 318303