summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2016-02-19 15:12:16 +0700
committerBehdad Esfahbod <behdad@behdad.org>2016-02-19 15:12:50 +0700
commit2735555c6b0c95db7dfc2b391f92a1a5c06084c4 (patch)
tree237f6b7f97c78f35d39631dd241b91f0cf7b45b9
parentb87e36f6f119fac80b8fd55f3abae563c2c5b798 (diff)
[fuzzing] Add TODO item
-rw-r--r--test/fuzzing/hb-fuzzer.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/fuzzing/hb-fuzzer.cc b/test/fuzzing/hb-fuzzer.cc
index c01c57f1..b319a715 100644
--- a/test/fuzzing/hb-fuzzer.cc
+++ b/test/fuzzing/hb-fuzzer.cc
@@ -45,6 +45,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
#include <assert.h>
std::string FileToString(const std::string &Path) {
+ /* TODO This silently passes if file does not exist. Fix it! */
std::ifstream T(Path.c_str());
return std::string((std::istreambuf_iterator<char>(T)),
std::istreambuf_iterator<char>());