Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/encfs-1.9.5/encfs/BlockFileIO.cpp
Examining data/encfs-1.9.5/encfs/BlockFileIO.h
Examining data/encfs-1.9.5/encfs/BlockNameIO.cpp
Examining data/encfs-1.9.5/encfs/BlockNameIO.h
Examining data/encfs-1.9.5/encfs/Cipher.cpp
Examining data/encfs-1.9.5/encfs/Cipher.h
Examining data/encfs-1.9.5/encfs/CipherFileIO.cpp
Examining data/encfs-1.9.5/encfs/CipherFileIO.h
Examining data/encfs-1.9.5/encfs/CipherKey.cpp
Examining data/encfs-1.9.5/encfs/CipherKey.h
Examining data/encfs-1.9.5/encfs/ConfigReader.cpp
Examining data/encfs-1.9.5/encfs/ConfigReader.h
Examining data/encfs-1.9.5/encfs/ConfigVar.cpp
Examining data/encfs-1.9.5/encfs/ConfigVar.h
Examining data/encfs-1.9.5/encfs/Context.cpp
Examining data/encfs-1.9.5/encfs/Context.h
Examining data/encfs-1.9.5/encfs/DirNode.cpp
Examining data/encfs-1.9.5/encfs/DirNode.h
Examining data/encfs-1.9.5/encfs/Error.cpp
Examining data/encfs-1.9.5/encfs/Error.h
Examining data/encfs-1.9.5/encfs/FSConfig.h
Examining data/encfs-1.9.5/encfs/FileIO.cpp
Examining data/encfs-1.9.5/encfs/FileIO.h
Examining data/encfs-1.9.5/encfs/FileNode.cpp
Examining data/encfs-1.9.5/encfs/FileNode.h
Examining data/encfs-1.9.5/encfs/FileUtils.cpp
Examining data/encfs-1.9.5/encfs/FileUtils.h
Examining data/encfs-1.9.5/encfs/Interface.cpp
Examining data/encfs-1.9.5/encfs/Interface.h
Examining data/encfs-1.9.5/encfs/MACFileIO.cpp
Examining data/encfs-1.9.5/encfs/MACFileIO.h
Examining data/encfs-1.9.5/encfs/MemoryPool.cpp
Examining data/encfs-1.9.5/encfs/MemoryPool.h
Examining data/encfs-1.9.5/encfs/Mutex.h
Examining data/encfs-1.9.5/encfs/NameIO.cpp
Examining data/encfs-1.9.5/encfs/NameIO.h
Examining data/encfs-1.9.5/encfs/NullCipher.cpp
Examining data/encfs-1.9.5/encfs/NullCipher.h
Examining data/encfs-1.9.5/encfs/NullNameIO.cpp
Examining data/encfs-1.9.5/encfs/NullNameIO.h
Examining data/encfs-1.9.5/encfs/Range.h
Examining data/encfs-1.9.5/encfs/RawFileIO.cpp
Examining data/encfs-1.9.5/encfs/RawFileIO.h
Examining data/encfs-1.9.5/encfs/SSL_Cipher.cpp
Examining data/encfs-1.9.5/encfs/SSL_Cipher.h
Examining data/encfs-1.9.5/encfs/SSL_Compat.h
Examining data/encfs-1.9.5/encfs/StreamNameIO.cpp
Examining data/encfs-1.9.5/encfs/StreamNameIO.h
Examining data/encfs-1.9.5/encfs/XmlReader.cpp
Examining data/encfs-1.9.5/encfs/XmlReader.h
Examining data/encfs-1.9.5/encfs/autosprintf.cpp
Examining data/encfs-1.9.5/encfs/autosprintf.h
Examining data/encfs-1.9.5/encfs/base64.cpp
Examining data/encfs-1.9.5/encfs/base64.h
Examining data/encfs-1.9.5/encfs/encfs.cpp
Examining data/encfs-1.9.5/encfs/encfs.h
Examining data/encfs-1.9.5/encfs/encfsctl.cpp
Examining data/encfs-1.9.5/encfs/i18n.h
Examining data/encfs-1.9.5/encfs/main.cpp
Examining data/encfs-1.9.5/encfs/makeKey.cpp
Examining data/encfs-1.9.5/encfs/openssl.cpp
Examining data/encfs-1.9.5/encfs/openssl.h
Examining data/encfs-1.9.5/encfs/readpassphrase.cpp
Examining data/encfs-1.9.5/encfs/readpassphrase.h
Examining data/encfs-1.9.5/encfs/test.cpp
Examining data/encfs-1.9.5/intl/gettext.h
Examining data/encfs-1.9.5/test/Cipher_test.cpp
Examining data/encfs-1.9.5/test/MemoryPool_bench.cpp
Examining data/encfs-1.9.5/test/MemoryPool_test.cpp
Examining data/encfs-1.9.5/test/main_bench.cpp
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/cmake/gnu_posix_regex.cpp
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/cmake/posix_regex.cpp
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/cmake/std_regex.cpp
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/cmake/steady_clock.cpp
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/cmake/thread_safety_attributes.cpp
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/include/benchmark/benchmark.h
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/include/benchmark/benchmark_api.h
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/include/benchmark/reporter.h
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/arraysize.h
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/benchmark.cc
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/benchmark_api_internal.h
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/benchmark_register.cc
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/check.h
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/colorprint.cc
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/colorprint.h
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/commandlineflags.cc
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/commandlineflags.h
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/complexity.cc
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/complexity.h
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/console_reporter.cc
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/counter.cc
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/counter.h
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/csv_reporter.cc
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/cycleclock.h
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/internal_macros.h
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/json_reporter.cc
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/log.h
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/mutex.h
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/re.h
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/reporter.cc
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/sleep.cc
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/sleep.h
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/stat.h
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/string_util.cc
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/string_util.h
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/sysinfo.cc
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/sysinfo.h
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/timers.cc
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/src/timers.h
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/test/basic_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/test/benchmark_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/test/complexity_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/test/cxx03_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/test/diagnostics_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/test/donotoptimize_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/test/filter_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/test/fixture_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/test/map_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/test/multiple_ranges_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/test/options_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/test/output_test.h
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/test/output_test_helper.cc
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/test/register_benchmark_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/test/reporter_output_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/test/skip_with_error_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/test/user_counters_tabular_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/benchmark/test/user_counters_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/include/gmock/gmock-actions.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/include/gmock/gmock-cardinalities.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/include/gmock/gmock-generated-actions.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/include/gmock/gmock-generated-matchers.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/include/gmock/gmock-generated-nice-strict.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/include/gmock/gmock-matchers.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/include/gmock/gmock-more-actions.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/include/gmock/gmock-more-matchers.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/include/gmock/gmock-spec-builders.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/include/gmock/gmock.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/include/gmock/internal/custom/gmock-generated-actions.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/include/gmock/internal/custom/gmock-matchers.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/include/gmock/internal/custom/gmock-port.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/include/gmock/internal/gmock-port.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/src/gmock-all.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/src/gmock-cardinalities.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/src/gmock-internal-utils.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/src/gmock-matchers.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/src/gmock-spec-builders.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/src/gmock.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/src/gmock_main.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/test/gmock-actions_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/test/gmock-cardinalities_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/test/gmock-generated-actions_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/test/gmock-generated-function-mockers_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/test/gmock-generated-internal-utils_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/test/gmock-generated-matchers_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/test/gmock-internal-utils_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/test/gmock-matchers_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/test/gmock-more-actions_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/test/gmock-nice-strict_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/test/gmock-port_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/test/gmock-spec-builders_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/test/gmock_all_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/test/gmock_ex_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/test/gmock_leak_test_.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/test/gmock_link2_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/test/gmock_link_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/test/gmock_link_test.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/test/gmock_output_test_.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/test/gmock_stress_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/test/gmock_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/codegear/gtest_all.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/codegear/gtest_link.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/gtest-death-test.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/gtest-message.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/gtest-param-test.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/gtest-printers.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/gtest-spi.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/gtest-test-part.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/gtest-typed-test.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/gtest.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/gtest_pred_impl.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/gtest_prod.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/internal/custom/gtest-port.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/internal/custom/gtest-printers.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/internal/custom/gtest.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/internal/gtest-death-test-internal.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/internal/gtest-filepath.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/internal/gtest-internal.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/internal/gtest-linked_ptr.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/internal/gtest-param-util-generated.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/internal/gtest-param-util.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/internal/gtest-port-arch.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/internal/gtest-port.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/internal/gtest-string.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/internal/gtest-tuple.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/internal/gtest-type-util.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/samples/prime_tables.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/samples/sample1.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/samples/sample1.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/samples/sample10_unittest.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/samples/sample1_unittest.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/samples/sample2.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/samples/sample2.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/samples/sample2_unittest.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/samples/sample3-inl.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/samples/sample3_unittest.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/samples/sample4.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/samples/sample4.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/samples/sample4_unittest.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/samples/sample5_unittest.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/samples/sample6_unittest.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/samples/sample7_unittest.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/samples/sample8_unittest.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/samples/sample9_unittest.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-all.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-death-test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-filepath.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-internal-inl.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-port.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-printers.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-test-part.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-typed-test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest_main.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest-death-test_ex_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest-death-test_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest-filepath_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest-linked_ptr_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest-listener_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest-message_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest-options_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest-param-test2_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest-param-test_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest-param-test_test.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest-port_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest-printers_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest-test-part_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest-tuple_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest-typed-test2_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest-typed-test_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest-typed-test_test.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest-unittest-api_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_all_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_break_on_failure_unittest_.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_catch_exceptions_test_.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_color_test_.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_env_var_test_.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_environment_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_filter_unittest_.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_help_test_.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_list_tests_unittest_.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_main_unittest.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_no_test_unittest.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_output_test_.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_pred_impl_unittest.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_premature_exit_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_prod_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_repeat_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_shuffle_test_.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_sole_header_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_stress_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_throw_on_failure_ex_test.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_throw_on_failure_test_.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_uninitialized_test_.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_unittest.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_xml_outfile1_test_.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_xml_outfile2_test_.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_xml_output_unittest_.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/production.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/production.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/xcode/Samples/FrameworkSample/widget.cc
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/xcode/Samples/FrameworkSample/widget.h
Examining data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/xcode/Samples/FrameworkSample/widget_test.cc
Examining data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/contrib/html5-printer.cpp
Examining data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp
Examining data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.h
Examining data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/xmltest.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/API/easylogging++.cc
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/API/easylogging++.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/API/logbuilder.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/MinGW/easylogging++.cc
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/MinGW/easylogging++.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/MinGW/prog.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/OpenGL/Cube/imageloader.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/OpenGL/Cube/imageloader.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/OpenGL/Cube/main.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/OpenGL/basic.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/OpenGL/easylogging++.cc
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/OpenGL/easylogging++.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/basic/easylogging++.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/basic/main.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/basic/mythread.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/fast-dictionary/listwithsearch.cc
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/fast-dictionary/main.cc
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/fast-dictionary/mainwindow.cc
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/fast-dictionary/moc_listwithsearch.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/fast-dictionary/moc_mainwindow.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/fast-dictionary/ui_mainwindow.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/file-splitter-joiner/about.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/file-splitter-joiner/about.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/file-splitter-joiner/addsplittedfiledialog.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/file-splitter-joiner/addsplittedfiledialog.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/file-splitter-joiner/easylogging++.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/file-splitter-joiner/joinercore.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/file-splitter-joiner/joinercore.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/file-splitter-joiner/joinerwidget.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/file-splitter-joiner/joinerwidget.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/file-splitter-joiner/main.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/file-splitter-joiner/mainwindow.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/file-splitter-joiner/mainwindow.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/file-splitter-joiner/partprocessor.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/file-splitter-joiner/partprocessor.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/file-splitter-joiner/splitablefiledelegate.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/file-splitter-joiner/splitablefiledelegate.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/file-splitter-joiner/splittercore.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/file-splitter-joiner/splittercore.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/file-splitter-joiner/splitterwidget.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/file-splitter-joiner/splitterwidget.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/shared-lib/myapp/easylogging++.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/shared-lib/myapp/main.cc
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/shared-lib/mylib/easylogging++.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/shared-lib/mylib/mylib.cc
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/all-logs.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/autospace.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/check-macros.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/conditional.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/configurator.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/containers.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/crash.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/custom-class.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/custom-crash-handler.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/custom-format-spec.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/custom-performance-output.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/default-configurations.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/default-log-file-from-arg.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/del-logger.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/different-output.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/easylogging++.cc
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/easylogging++.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/flags.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/global-configuration.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/helpers.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/locale.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/log-dispatch-callback.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/loggable.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/logger-log-functions.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/logrotate-pthread.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/logrotate.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/make-loggable.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/manipulators.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/multiple-loggers.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/new-logger-registration-callback.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/no-default-log-file.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/occasional.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/plog.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/post-performance-tracking-handler.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/pthread.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/roll-out.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/shared-static-libs/easylogging++.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/shared-static-libs/lib/include/easylogging++.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/shared-static-libs/lib/include/mylib.hpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/shared-static-libs/lib/mylib.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/shared-static-libs/myapp.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/smart-pointer-null-check.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/std-array.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/syslog.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/thread-names.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/timed-block.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/timed-scope.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/verbose.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/very-basic.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/VC++/VCPP2015_Win32/VCPP2015_Win32/easylogging++.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/VC++/VCPP2015_Win32/VCPP2015_Win32/easylogging++.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/VC++/VCPP2015_Win32/VCPP2015_Win32/main.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/VC++/VCPP2015_Win32_Multithreaded/VCPP2015_Win32/easylogging++.cc
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/VC++/VCPP2015_Win32_Multithreaded/VCPP2015_Win32/easylogging++.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/VC++/VCPP2015_Win32_Multithreaded/VCPP2015_Win32/main.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/async/easylogging++.cc
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/async/easylogging++.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/async/mymath.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/async/prog.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/boost/deque.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/boost/easylogging++.cc
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/boost/easylogging++.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/boost/list.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/boost/map.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/boost/set.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/boost/string.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/boost/vector.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/gtkmm/easylogging++.cc
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/gtkmm/easylogging++.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/gtkmm/hello_gtkmm/easylogging++.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/gtkmm/hello_gtkmm/main.cc
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/gtkmm/hello_gtkmm/window.cc
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/gtkmm/hello_gtkmm/window.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/gtkmm/sigc++.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/gtkmm/ustring.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/send-to-network/easylogging++.cc
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/send-to-network/easylogging++.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/send-to-network/network-logger.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/wxWidgets/easylogging++.cc
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/wxWidgets/easylogging++.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/wxWidgets/wxhashmap.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/wxWidgets/wxhashset.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/wxWidgets/wxlist.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/wxWidgets/wxlonglong.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/wxWidgets/wxstring.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/wxWidgets/wxvector.cpp
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.cc
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/command-line-args-test.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/configurations-test.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/custom-format-specifier-test.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/date-utils-test.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/easylogging++.cc
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/easylogging++.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/enum-helper-test.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/file-utils-test.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/format-specifier-test.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/global-configurations-test.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/helpers-test.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/hit-counter-test.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/log-format-resolution-test.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/loggable-test.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/logger-test.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/macros-test.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/main.cc
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/os-utils-test.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/plog-test.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/post-log-dispatch-handler-test.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/registry-test.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/strict-file-size-check-test.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/string-utils-test.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/syslog-test.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/test.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/typed-configurations-test.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/utilities-test.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/verbose-app-arguments-test.h
Examining data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/write-all-test.h

FINAL RESULTS:

data/encfs-1.9.5/encfs/RawFileIO.cpp:102:9:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
    if (chmod(path, stbuf.st_mode | 0600) != -1) {
data/encfs-1.9.5/encfs/RawFileIO.cpp:104:7:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
      chmod(path, stbuf.st_mode);
data/encfs-1.9.5/encfs/encfs.cpp:213:15:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
      res = ::readlink(fnode->cipherName(), buf.data(), stbuf->st_size);
data/encfs-1.9.5/encfs/encfs.cpp:420:11:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
  res = ::readlink(cyName.c_str(), buf, size - 1);
data/encfs-1.9.5/encfs/encfs.cpp:557:10:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  return chmod(cipherPath.c_str(), mode);
data/encfs-1.9.5/encfs/encfsctl.cpp:447:15:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
  int res = ::readlink(cpath.c_str(), buf.data(), stBuf.st_size);
data/encfs-1.9.5/encfs/encfsctl.cpp:482:11:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
      if (readlink(d.c_str(), linkContents, PATH_MAX + 1) <= 0) {
data/encfs-1.9.5/encfs/FileUtils.cpp:1562:5:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    execvp(argv[0], (char *const *)argv);  // returns only on error..
data/encfs-1.9.5/encfs/FileUtils.cpp:1752:5:  [4] (shell) execl:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    execl("/bin/pkill", "/bin/pkill", "-INT", "-if", string("(^|/)encfs .*(/|.:).* ").append(mountPoint).append("( |$)").c_str(), (char *)0);
data/encfs-1.9.5/encfs/autosprintf.h:29:20:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define __printf__ printf
data/encfs-1.9.5/encfs/readpassphrase.cpp:194:1:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
getpass(const char *prompt)
data/encfs-1.9.5/vendor/github.com/google/benchmark/src/colorprint.cc:92:14:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  auto ret = vsnprintf(local_buff, size, msg, args_cp);
data/encfs-1.9.5/vendor/github.com/google/benchmark/src/colorprint.cc:107:11:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    ret = vsnprintf(buff.get(), size, msg, args);
data/encfs-1.9.5/vendor/github.com/google/benchmark/src/colorprint.cc:146:3:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vprintf(fmt, args);
data/encfs-1.9.5/vendor/github.com/google/benchmark/src/console_reporter.cc:120:12:  [4] (buffer) StrCat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
    rate = StrCat(" ", HumanReadableNumber(result.bytes_per_second), "B/s");
data/encfs-1.9.5/vendor/github.com/google/benchmark/src/console_reporter.cc:127:9:  [4] (buffer) StrCat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
        StrCat(" ", HumanReadableNumber(result.items_per_second), " items/s");
data/encfs-1.9.5/vendor/github.com/google/benchmark/src/string_util.cc:136:14:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  auto ret = vsnprintf(local_buff.data(), size, msg, args_cp);
data/encfs-1.9.5/vendor/github.com/google/benchmark/src/string_util.cc:151:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  ret = vsnprintf(buff_ptr.get(), size, msg, args);
data/encfs-1.9.5/vendor/github.com/google/benchmark/src/string_util.h:29:20:  [4] (buffer) StrCat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
inline std::string StrCat(Args&&... args) {
data/encfs-1.9.5/vendor/github.com/google/benchmark/src/sysinfo.cc:343:9:  [4] (buffer) StrCat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
        StrCat("/sys/devices/system/cpu/cpu", cpu, "/cpufreq/scaling_governor");
data/encfs-1.9.5/vendor/github.com/google/benchmark/src/timers.cc:170:51:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
#error Per-thread timing is not available on your system.
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/internal/gtest-death-test-internal.h:165:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(\
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/internal/gtest-port.h:2356:20:  [4] (buffer) StrNCpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
inline const char* StrNCpy(char* dest, const char* src, size_t n) {
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/internal/gtest-port.h:2427:26:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# define GTEST_SNPRINTF_ _snprintf
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/internal/gtest-port.h:2429:26:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# define GTEST_SNPRINTF_ snprintf
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest.cc:146:10:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# define vsnprintf _vsnprintf
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest.cc:2971:5:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vprintf(fmt, args);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest.cc:2991:3:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vprintf(fmt, args);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest.cc:2998:3:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vprintf(fmt, args);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest-death-test_test.cc:1310:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, InDeathTestChild() ? "Inside" : "Outside");
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest-death-test_test.cc:1320:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, InDeathTestChild() ? "Inside" : "Outside");
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:63:25:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	#define TIXML_SNPRINTF	_snprintf
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:65:23:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	#define TIXML_SSCANF	sscanf
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:92:25:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	#define TIXML_SNPRINTF	snprintf
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:93:26:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	#define TIXML_VSNPRINTF	vsnprintf
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:96:13:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		int len = vsnprintf( 0, 0, format, va );
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:100:25:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	#define TIXML_SSCANF   sscanf
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:2395:9:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        vfprintf( _fp, format, va );
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/xmltest.cpp:325:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf( "Error opening test file 'dream.xml'.\n"
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/STL/roll-out.cpp:23:4:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
   system(ss.str().c_str());
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/VC++/VCPP2015_Win32/VCPP2015_Win32/main.cpp:28:2:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	system("pause");
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/VC++/VCPP2015_Win32_Multithreaded/VCPP2015_Win32/main.cpp:62:2:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	system("pause");
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.cc:993:15:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  if ((proc = popen(command, "r")) == nullptr) {
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.h:238:29:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
#  define STRCAT(a, b, len) strcat(a, b)
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.h:239:29:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
#  define STRCPY(a, b, len) strcpy(a, b)
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/test.h:98:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        (void)(system(BUILD_STR("rm -rf " << path).c_str()) + 1); // (void)(...+1) -> ignore result for gcc 4.6+
data/encfs-1.9.5/encfs/FileUtils.cpp:243:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      char *envFile = getenv(nm->environmentOverride);
data/encfs-1.9.5/encfs/FileUtils.cpp:463:31:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        const char *envFile = getenv(nm->environmentOverride);
data/encfs-1.9.5/encfs/encfsctl.cpp:230:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int res = getopt_long(argc, argv, "", long_options, &option_index);
data/encfs-1.9.5/encfs/main.cpp:292:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        getopt_long(argc, argv, "HsSfvdmi:o:t:c:u", long_options, &option_index);
data/encfs-1.9.5/encfs/openssl.cpp:78:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  srand(randSeed);
data/encfs-1.9.5/encfs/test.cpp:412:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  srand(time(0));
data/encfs-1.9.5/vendor/github.com/google/benchmark/src/colorprint.cc:174:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char* const term = getenv("TERM");
data/encfs-1.9.5/vendor/github.com/google/benchmark/src/commandlineflags.cc:97:36:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char* const string_value = getenv(env_var.c_str());
data/encfs-1.9.5/vendor/github.com/google/benchmark/src/commandlineflags.cc:107:36:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char* const string_value = getenv(env_var.c_str());
data/encfs-1.9.5/vendor/github.com/google/benchmark/src/commandlineflags.cc:127:29:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char* const value = getenv(env_var.c_str());
data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/test/gmock-matchers_test.cc:5197:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(static_cast<int>(seed));
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/gtest.h:925:39:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  void ShuffleTests(internal::Random* random);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/internal/gtest-port.h:2395:27:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char* const env = getenv(name);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/internal/gtest-port.h:2398:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  return getenv(name);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-internal-inl.h:312:37:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
void ShuffleRange(internal::Random* random, int begin, int end,
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-internal-inl.h:333:39:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
inline void Shuffle(internal::Random* random, std::vector<E>* v) {
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-internal-inl.h:334:16:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  ShuffleRange(random, 0, static_cast<int>(v->size()), v);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-internal-inl.h:792:21:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  internal::Random* random() { return &random_; }
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-port.cc:243:5:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  ::InitializeCriticalSection(critical_section_);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-port.cc:261:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  ::EnterCriticalSection(critical_section_);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-port.cc:293:11:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
        ::InitializeCriticalSection(critical_section_);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest.cc:194:44:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char* const testbridge_test_only = getenv(GTEST_TEST_FILTER_ENV_VAR_);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest.cc:2793:47:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
void TestCase::ShuffleTests(internal::Random* random) {
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest.cc:2794:11:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  Shuffle(random, &test_indices_);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest.cc:4627:7:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      random()->Reseed(random_seed_);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest.cc:4941:16:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  ShuffleRange(random(), 0, last_death_test_case_ + 1, &test_case_indices_);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest.cc:4944:16:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  ShuffleRange(random(), last_death_test_case_ + 1,
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest.cc:4949:34:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    test_cases_[i]->ShuffleTests(random());
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_unittest.cc:425:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (getenv("TZ"))
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_unittest.cc:426:26:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      saved_tz_ = strdup(getenv("TZ"));
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_unittest.cc:713:29:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  testing::internal::Random random(42);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_unittest.cc:715:7:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      random.Generate(0),
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_unittest.cc:718:7:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      random.Generate(testing::internal::Random::kMaxRange + 1),
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_unittest.cc:725:29:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  testing::internal::Random random(12345);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_unittest.cc:727:15:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    EXPECT_LT(random.Generate(kRange), kRange) << " for iteration " << i;
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_unittest.cc:742:29:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  testing::internal::Random random(kSeed);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_unittest.cc:744:17:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    values[i] = random.Generate(kRange);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_unittest.cc:747:3:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  random.Reseed(kSeed);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_unittest.cc:749:26:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    EXPECT_EQ(values[i], random.Generate(kRange)) << " for iteration " << i;
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_unittest.cc:814:29:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  testing::internal::Random random(1);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_unittest.cc:817:21:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      ShuffleRange(&random, -1, 1, &a),
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_unittest.cc:820:21:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      ShuffleRange(&random, 4, 4, &a),
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_unittest.cc:823:21:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      ShuffleRange(&random, 3, 2, &a),
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_unittest.cc:826:21:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      ShuffleRange(&random, 3, 4, &a),
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.cc:1017:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char* val = getenv(variableName);
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.h:963:5:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
    InitializeCriticalSection(&m_underlyingMutex);
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.h:979:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&m_underlyingMutex);
data/encfs-1.9.5/encfs/BlockFileIO.cpp:76:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(req.data, _cache.data, len);
data/encfs-1.9.5/encfs/BlockFileIO.cpp:95:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(req.data, _cache.data, result);
data/encfs-1.9.5/encfs/BlockFileIO.cpp:103:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(_cache.data, req.data, req.dataLen);
data/encfs-1.9.5/encfs/BlockFileIO.cpp:114:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(_cache.data, req.data, req.dataLen);
data/encfs-1.9.5/encfs/BlockFileIO.cpp:180:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(out, blockReq.data + partialOffset, cpySize);
data/encfs-1.9.5/encfs/BlockFileIO.cpp:299:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(blockReq.data + partialOffset, inPtr, toCopy);
data/encfs-1.9.5/encfs/BlockNameIO.cpp:150:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(encodedName + 2, plaintextName, length);
data/encfs-1.9.5/encfs/BlockNameIO.cpp:246:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(plaintextName, tmpBuf + 2, finalSize);
data/encfs-1.9.5/encfs/CipherFileIO.cpp:71:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
int CipherFileIO::open(int flags) {
data/encfs-1.9.5/encfs/CipherFileIO.cpp:72:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int res = base->open(flags);
data/encfs-1.9.5/encfs/CipherFileIO.cpp:103:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int res = base->open(newFlags);
data/encfs-1.9.5/encfs/CipherFileIO.cpp:184:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[8] = {0};
data/encfs-1.9.5/encfs/CipherFileIO.cpp:208:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[8] = {0};
data/encfs-1.9.5/encfs/CipherFileIO.cpp:253:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf[8] = {0};
data/encfs-1.9.5/encfs/CipherFileIO.cpp:294:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char inoBuf[sizeof(ino_t)];
data/encfs-1.9.5/encfs/CipherFileIO.cpp:303:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char md[20];
data/encfs-1.9.5/encfs/CipherFileIO.cpp:306:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(headerBuf, md, HEADER_SIZE);
data/encfs-1.9.5/encfs/CipherFileIO.cpp:468:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int res = base->open(newFlags);
data/encfs-1.9.5/encfs/CipherFileIO.cpp:471:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      base->open(lastFlags);
data/encfs-1.9.5/encfs/CipherFileIO.cpp:493:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    reopen = base->open(lastFlags);
data/encfs-1.9.5/encfs/CipherFileIO.cpp:519:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char headerBuf[HEADER_SIZE];
data/encfs-1.9.5/encfs/CipherFileIO.cpp:546:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(req.data, &headerBuf[headerOffset], headerBytes);
data/encfs-1.9.5/encfs/CipherFileIO.h:57:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  virtual int open(int flags);
data/encfs-1.9.5/encfs/ConfigReader.cpp:51:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int fd = open(fileName, O_RDONLY);
data/encfs-1.9.5/encfs/ConfigReader.cpp:100:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int fd = ::open(fileName, O_RDWR | O_CREAT, 0640);
data/encfs-1.9.5/encfs/ConfigVar.cpp:60:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(buffer_, pd->buffer.data() + pd->offset, toCopy);
data/encfs-1.9.5/encfs/ConfigVar.cpp:100:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char digit[5];
data/encfs-1.9.5/encfs/ConfigVar.cpp:189:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char tmpBuf[32] = {};
data/encfs-1.9.5/encfs/DirNode.cpp:745:32:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if (node && (*result = node->open(flags)) >= 0) {
data/encfs-1.9.5/encfs/FileIO.h:64:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  virtual int open(int flags) = 0;
data/encfs-1.9.5/encfs/FileNode.cpp:180:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    res = ::open(_cname.c_str(), O_CREAT | O_EXCL | O_WRONLY, mode);
data/encfs-1.9.5/encfs/FileNode.cpp:214:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
int FileNode::open(int flags) const {
data/encfs-1.9.5/encfs/FileNode.cpp:217:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int res = io->open(flags);
data/encfs-1.9.5/encfs/FileNode.cpp:273:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int fh = io->open(O_RDONLY);
data/encfs-1.9.5/encfs/FileNode.h:76:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int open(int flags) const;
data/encfs-1.9.5/encfs/FileUtils.cpp:172:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char answer[10];
data/encfs-1.9.5/encfs/FileUtils.cpp:664:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char answer[10];
data/encfs-1.9.5/encfs/FileUtils.cpp:708:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char answer[10];
data/encfs-1.9.5/encfs/FileUtils.cpp:775:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char answer[10];
data/encfs-1.9.5/encfs/FileUtils.cpp:813:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char answer[10];
data/encfs-1.9.5/encfs/FileUtils.cpp:931:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char answer[10];
data/encfs-1.9.5/encfs/FileUtils.cpp:1013:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char answer[10] = {0};
data/encfs-1.9.5/encfs/FileUtils.cpp:1454:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char passBuf[MaxPassBuf];
data/encfs-1.9.5/encfs/FileUtils.cpp:1483:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[1024];
data/encfs-1.9.5/encfs/FileUtils.cpp:1530:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *argv[4];
data/encfs-1.9.5/encfs/FileUtils.cpp:1552:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmpBuf[8];
data/encfs-1.9.5/encfs/FileUtils.cpp:1585:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char passBuf[MaxPassBuf];
data/encfs-1.9.5/encfs/FileUtils.cpp:1586:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char passBuf2[MaxPassBuf];
data/encfs-1.9.5/encfs/MACFileIO.cpp:79:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
int MACFileIO::open(int flags) { return base->open(flags); }
data/encfs-1.9.5/encfs/MACFileIO.cpp:79:47:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
int MACFileIO::open(int flags) { return base->open(flags); }
data/encfs-1.9.5/encfs/MACFileIO.cpp:204:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(req.data, tmp.data + headerSize, readSize);
data/encfs-1.9.5/encfs/MACFileIO.cpp:231:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(newReq.data + headerSize, req.data, req.dataLen);
data/encfs-1.9.5/encfs/MACFileIO.h:57:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  virtual int open(int flags);
data/encfs-1.9.5/encfs/NullNameIO.cpp:65:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(encodedName, plaintextName, length);
data/encfs-1.9.5/encfs/NullNameIO.cpp:75:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(plaintextName, encodedName, length);
data/encfs-1.9.5/encfs/RawFileIO.cpp:103:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fd = ::open(path, flags);
data/encfs-1.9.5/encfs/RawFileIO.cpp:119:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
int RawFileIO::open(int flags) {
data/encfs-1.9.5/encfs/RawFileIO.cpp:140:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int newFd = ::open(name.c_str(), finalFlags);
data/encfs-1.9.5/encfs/RawFileIO.h:43:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  virtual int open(int flags);
data/encfs-1.9.5/encfs/SSL_Cipher.cpp:73:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char mdBuf[EVP_MAX_MD_SIZE];
data/encfs-1.9.5/encfs/SSL_Cipher.cpp:99:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(key, mdBuf + offset, toCopy);
data/encfs-1.9.5/encfs/SSL_Cipher.cpp:106:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(iv, mdBuf + offset, toCopy);
data/encfs-1.9.5/encfs/SSL_Cipher.cpp:486:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char tmpBuf[bufLen];
data/encfs-1.9.5/encfs/SSL_Cipher.cpp:488:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char saltBuf[saltLen];
data/encfs-1.9.5/encfs/SSL_Cipher.cpp:519:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char md[EVP_MAX_MD_SIZE];
data/encfs-1.9.5/encfs/SSL_Cipher.cpp:527:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char h[8];
data/encfs-1.9.5/encfs/SSL_Cipher.cpp:541:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char h[8] = {0, 0, 0, 0, 0, 0, 0, 0};
data/encfs-1.9.5/encfs/SSL_Cipher.cpp:567:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char errStr[120];  // specs require string at least 120 bytes long..
data/encfs-1.9.5/encfs/SSL_Cipher.cpp:595:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char tmpBuf[MAX_KEYLENGTH + MAX_IVLENGTH];
data/encfs-1.9.5/encfs/SSL_Cipher.cpp:603:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(tmpBuf, data + KEY_CHECKSUM_BYTES, (size_t)_keySize + (size_t)_ivLength);
data/encfs-1.9.5/encfs/SSL_Cipher.cpp:618:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(key->buffer, tmpBuf, (size_t)_keySize + (size_t)_ivLength);
data/encfs-1.9.5/encfs/SSL_Cipher.cpp:636:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char tmpBuf[MAX_KEYLENGTH + MAX_IVLENGTH];
data/encfs-1.9.5/encfs/SSL_Cipher.cpp:639:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(tmpBuf, key->buffer, bufLen);
data/encfs-1.9.5/encfs/SSL_Cipher.cpp:644:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(data + KEY_CHECKSUM_BYTES, tmpBuf, bufLen);
data/encfs-1.9.5/encfs/SSL_Cipher.cpp:694:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ivec, IVData(key), _ivLength);
data/encfs-1.9.5/encfs/SSL_Cipher.cpp:696:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char md[EVP_MAX_MD_SIZE];
data/encfs-1.9.5/encfs/SSL_Cipher.cpp:711:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ivec, md, _ivLength);
data/encfs-1.9.5/encfs/SSL_Cipher.cpp:735:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(ivec, IVData(key), _ivLength);
data/encfs-1.9.5/encfs/SSL_Cipher.cpp:759:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char revBuf[64];
data/encfs-1.9.5/encfs/SSL_Cipher.cpp:769:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(buf, revBuf, toFlip);
data/encfs-1.9.5/encfs/SSL_Cipher.cpp:800:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char ivec[MAX_IVLENGTH];
data/encfs-1.9.5/encfs/SSL_Cipher.cpp:837:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char ivec[MAX_IVLENGTH];
data/encfs-1.9.5/encfs/SSL_Cipher.cpp:881:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char ivec[MAX_IVLENGTH];
data/encfs-1.9.5/encfs/SSL_Cipher.cpp:916:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char ivec[MAX_IVLENGTH];
data/encfs-1.9.5/encfs/StreamNameIO.cpp:122:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(encodeBegin, plaintextName, length);
data/encfs-1.9.5/encfs/StreamNameIO.cpp:166:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(plaintextName, tmpBuf + 2, decodedStreamLen);
data/encfs-1.9.5/encfs/StreamNameIO.cpp:172:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(plaintextName, tmpBuf, decodedStreamLen);
data/encfs-1.9.5/encfs/autosprintf.cpp:60:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(copy, str, length);
data/encfs-1.9.5/encfs/encfs.cpp:628:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int encfs_utimens(const char *path, const struct timespec ts[2]) {
data/encfs-1.9.5/encfs/encfs.cpp:685:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int res = fnode->open(O_RDONLY);
data/encfs-1.9.5/encfs/encfs.h:108:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int encfs_utimens(const char *path, const struct timespec ts[2]);
data/encfs-1.9.5/encfs/encfsctl.cpp:314:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[PATH_MAX + 1];
data/encfs-1.9.5/encfs/encfsctl.cpp:332:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[PATH_MAX + 1];
data/encfs-1.9.5/encfs/encfsctl.cpp:393:23:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      errCode = node->open(O_RDONLY);
data/encfs-1.9.5/encfs/encfsctl.cpp:402:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[512];
data/encfs-1.9.5/encfs/encfsctl.cpp:480:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char linkContents[PATH_MAX + 2];
data/encfs-1.9.5/encfs/main.cpp:80:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *fuseArgv[MaxFuseArgs];
data/encfs-1.9.5/encfs/makeKey.cpp:53:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  int size = atoi(argv[2]);
data/encfs-1.9.5/encfs/readpassphrase.cpp:87:25:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((input = output = open(_PATH_TTY, O_RDWR)) == -1) {
data/encfs-1.9.5/encfs/readpassphrase.cpp:196:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char buf[_PASSWORD_LEN + 1];
data/encfs-1.9.5/encfs/test.cpp:143:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char keyBuf[encodedKeySize];
data/encfs-1.9.5/encfs/test.cpp:164:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char keyBuf[encodedKeySize];
data/encfs-1.9.5/encfs/test.cpp:179:17:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    int tmpFd = mkstemp(&name[0]);
data/encfs-1.9.5/intl/gettext.h:217:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char msg_ctxt_id[msgctxt_len + msgid_len];
data/encfs-1.9.5/intl/gettext.h:219:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[1024];
data/encfs-1.9.5/intl/gettext.h:227:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1);
data/encfs-1.9.5/intl/gettext.h:229:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len);
data/encfs-1.9.5/intl/gettext.h:263:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char msg_ctxt_id[msgctxt_len + msgid_len];
data/encfs-1.9.5/intl/gettext.h:265:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[1024];
data/encfs-1.9.5/intl/gettext.h:273:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1);
data/encfs-1.9.5/intl/gettext.h:275:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len);
data/encfs-1.9.5/test/Cipher_test.cpp:56:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char keyBuf[encodedKeySize];
data/encfs-1.9.5/test/Cipher_test.cpp:149:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char keyBuf[encodedKeySize];
data/encfs-1.9.5/test/Cipher_test.cpp:164:15:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
  int tmpFd = mkstemp(&name[0]);
data/encfs-1.9.5/vendor/github.com/google/benchmark/src/benchmark.cc:605:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    output_file.open(fname);
data/encfs-1.9.5/vendor/github.com/google/benchmark/src/colorprint.cc:91:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char local_buff[256];
data/encfs-1.9.5/vendor/github.com/google/benchmark/src/sysinfo.cc:73:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int fd = open(file, O_RDONLY);
data/encfs-1.9.5/vendor/github.com/google/benchmark/src/sysinfo.cc:75:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[1024];
data/encfs-1.9.5/vendor/github.com/google/benchmark/src/sysinfo.cc:110:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char line[1024];
data/encfs-1.9.5/vendor/github.com/google/benchmark/src/sysinfo.cc:143:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int fd = open(pname, O_RDONLY);
data/encfs-1.9.5/vendor/github.com/google/benchmark/src/sysinfo.cc:344:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE* file = fopen(governor_file.c_str(), "r");
data/encfs-1.9.5/vendor/github.com/google/benchmark/src/sysinfo.cc:346:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buff[16];
data/encfs-1.9.5/vendor/github.com/google/benchmark/src/timers.cc:180:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char storage[kStorageSize];
data/encfs-1.9.5/vendor/github.com/google/benchmark/test/donotoptimize_test.cc:20:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static unsigned char arr[2] = {};
data/encfs-1.9.5/vendor/github.com/google/benchmark/test/donotoptimize_test.cc:31:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer8[8];
data/encfs-1.9.5/vendor/github.com/google/benchmark/test/donotoptimize_test.cc:34:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer20[20];
data/encfs-1.9.5/vendor/github.com/google/benchmark/test/donotoptimize_test.cc:37:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer1024[1024];
data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/test/gmock-internal-utils_test.cc:460:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  int skip_count = atoi(log.substr(expected_message.size()).c_str());
data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/test/gmock-more-actions_test.cc:628:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char ch[4] = {};
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/internal/gtest-port.h:2368:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  return fopen(path, mode);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/samples/sample2.cc:44:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(clone, a_c_string, len + 1);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-death-test.cc:325:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[256];
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-death-test.cc:741:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char executable_path[_MAX_PATH + 1];  // NOLINT
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-death-test.cc:1027:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  const int cwd_fd = open(".", O_RDONLY);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-filepath.cc:105:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char cwd[GTEST_PATH_MAX_ + 1] = { '\0' };
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-filepath.cc:108:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char cwd[GTEST_PATH_MAX_ + 1] = { '\0' };
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-port.cc:139:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  const int fd = open("/proc/self/as", O_RDONLY);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-port.cc:865:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buffer, regex, len);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-port.cc:938:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char temp_dir_path[MAX_PATH + 1] = { '\0' };  // NOLINT
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-port.cc:939:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char temp_file_path[MAX_PATH + 1] = { '\0' };  // NOLINT
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-port.cc:976:29:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    const int captured_fd = mkstemp(name_template);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-printers.cc:65:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char text[5] = "";
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest.cc:862:7:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
      MultiByteToWideChar(CP_ACP, 0, ansi, length,
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest.cc:865:3:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  MultiByteToWideChar(CP_ACP, 0, ansi, length,
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest.cc:1680:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char error_text[kBufSize] = { '\0' };
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest.cc:1764:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char str[5];  // Big enough for the largest valid code point.
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest-filepath_test.cc:371:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char current_drive[_MAX_PATH];  // NOLINT
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest-filepath_test.cc:388:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char non_drive[_MAX_PATH];  // NOLINT
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest-printers_test.cc:131:32:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  UnprintableInFoo() : z_(0) { memcpy(xy_, "\xEF\x12\x0\x0\x34\xAB\x0\x0", 8); }
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest-printers_test.cc:134:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char xy_[8];
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest-printers_test.cc:1132:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char array[257];
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_unittest.cc:7591:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char a[3] = "hi";
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest_unittest.cc:7675:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char a[2][3] = { "hi", "lo" };
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/xcode/Samples/FrameworkSample/widget_test.cc:58:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[max_size];
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:186:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( _start, str, len+1 );
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:310:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        char buf[buflen] = { 0 };
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:322:29:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                            memcpy( q, buf, len );
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:1354:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char endTag[2] = { *p, 0 };
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:1430:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[BUF_SIZE];
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:1438:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[BUF_SIZE];
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:1446:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[BUF_SIZE];
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:1455:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[BUF_SIZE];
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:1462:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[BUF_SIZE];
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:1469:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[BUF_SIZE];
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:1580:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[BUF_SIZE];
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:1588:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[BUF_SIZE];
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:1596:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[BUF_SIZE];
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:1604:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[BUF_SIZE];
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:1612:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[BUF_SIZE];
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:1620:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[BUF_SIZE];
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:2116:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE* fp = fopen( filepath, mode );
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:2258:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( _charBuffer, p, len );
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:2330:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf1[LEN] = { 0 };
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:2331:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf2[LEN] = { 0 };
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:2511:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[BUF_SIZE];
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:2519:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[BUF_SIZE];
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:2527:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[BUF_SIZE];
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:2535:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[BUF_SIZE];
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:2543:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[BUF_SIZE];
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:2600:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[BUF_SIZE];
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:2607:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[BUF_SIZE];
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:2615:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[BUF_SIZE];
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:2623:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[BUF_SIZE];
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:2631:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[BUF_SIZE];
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:2639:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[BUF_SIZE];
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.h:295:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy( newMem, _mem, sizeof(T)*_size );	// warning: not using constructors, only works for PODs
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.h:432:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char    itemData[ITEM_SIZE];
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/xmltest.cpp:323:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE* fp = fopen( "resources/dream.xml", "r" );
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/xmltest.cpp:600:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		FILE* saved  = fopen( "resources/out/utf8testout.xml", "r" );
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/xmltest.cpp:601:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		FILE* verify = fopen( "resources/utf8testverify.xml", "r" );
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/xmltest.cpp:606:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char verifyBuf[256];
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/xmltest.cpp:609:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char savedBuf[256];
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/xmltest.cpp:785:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			FILE* printerfp = fopen("resources/printer.xml", "w");
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/xmltest.cpp:891:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		FILE* textfile = fopen( "resources/out/textfile.txt", "w" );
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/xmltest.cpp:899:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        textfile = fopen( "resources/out/textfile.txt", "r" );
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/xmltest.cpp:903:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char buf[ 1024 ];
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/xmltest.cpp:1948:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		FILE* perfFP = fopen("resources/dream.xml", "r");
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/OpenGL/Cube/imageloader.cpp:38:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buffer[4];
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/OpenGL/Cube/imageloader.cpp:46:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buffer[2];
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/OpenGL/Cube/imageloader.cpp:123:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    input.open(filename, ifstream::binary);
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/OpenGL/Cube/imageloader.cpp:125:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[2];
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/fast-dictionary/mainwindow.cc:75:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (file.open(QIODevice::ReadOnly | QIODevice::Text)) {
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/file-splitter-joiner/partprocessor.cpp:59:47:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(processType == kSplit && !sourceFile_->open(QIODevice::ReadOnly)) {
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/file-splitter-joiner/partprocessor.cpp:66:26:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(!destinationFile_.open(QIODevice::WriteOnly)) {
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/file-splitter-joiner/partprocessor.cpp:132:33:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if (!this->sourceFile_->open(QFile::ReadOnly)) {
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.cc:910:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char localBuff[10] = "";
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.cc:961:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char buffer[bufferLen];
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.cc:970:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char propVal[PROP_VALUE_MAX + 1];
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.cc:997:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char hBuff[4096];
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.cc:1111:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff_[kBuffSize] = "";
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.cc:1658:10:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  return atol(confVal.c_str());
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.cc:1756:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fs->open(fname, std::fstream::out | std::fstream::trunc);
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.cc:1949:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char baseFilename[base::consts::kSourceFilenameMaxLength] = "";
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.cc:1969:52:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    setLevel(static_cast<base::type::VerboseLevel>(atoi(commandLineArgs->getParamValue("--v"))));
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.cc:1971:52:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    setLevel(static_cast<base::type::VerboseLevel>(atoi(commandLineArgs->getParamValue("--V"))));
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.cc:2090:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    int userInput = atoi(m_commandLineArgs.getParamValue(base::consts::kLoggingFlagsParam));
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.cc:2289:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[base::consts::kSourceFilenameMaxLength + base::consts::kSourceLineMaxLength] = "";
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.cc:2538:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buff[256];
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.h:163:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
{ char buff[256]; strerror_s(buff, 256, errno); \
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/file-utils-test.h:47:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[50] = "";
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/string-utils-test.h:85:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[100];
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/string-utils-test.h:96:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[100];
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/test.h:84:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fs->open(filename, el::base::type::fstream_t::out);
data/encfs-1.9.5/encfs/BlockFileIO.cpp:129:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
ssize_t BlockFileIO::read(const IORequest &req) const {
data/encfs-1.9.5/encfs/BlockFileIO.h:45:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  virtual ssize_t read(const IORequest &req) const;
data/encfs-1.9.5/encfs/CipherFileIO.cpp:190:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ssize_t readSize = base->read(req);
data/encfs-1.9.5/encfs/CipherFileIO.cpp:338:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ssize_t readSize = base->read(tmpReq);
data/encfs-1.9.5/encfs/CipherFileIO.cpp:504:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
ssize_t CipherFileIO::read(const IORequest &origReq) const {
data/encfs-1.9.5/encfs/CipherFileIO.cpp:511:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return BlockFileIO::read(origReq);
data/encfs-1.9.5/encfs/CipherFileIO.cpp:563:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ssize_t readBytes = BlockFileIO::read(req);
data/encfs-1.9.5/encfs/CipherFileIO.h:78:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ssize_t read(const IORequest &req) const;
data/encfs-1.9.5/encfs/ConfigReader.cpp:58:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  int res = ::read(fd, buf, size);
data/encfs-1.9.5/encfs/ConfigVar.cpp:56:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
int ConfigVar::read(unsigned char *buffer_, int bytes) const {
data/encfs-1.9.5/encfs/ConfigVar.cpp:192:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    readLen = src.read(ptr, length);
data/encfs-1.9.5/encfs/ConfigVar.cpp:196:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    readLen = src.read(tmpBuf, length);
data/encfs-1.9.5/encfs/ConfigVar.h:49:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  int read(unsigned char *buffer, int size) const;
data/encfs-1.9.5/encfs/DirNode.cpp:333:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
             naming->decodeName(cipherPath_ + 1, strlen(cipherPath_ + 1));
data/encfs-1.9.5/encfs/DirNode.cpp:350:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
             naming->encodeName(plaintextPath + 1, strlen(plaintextPath + 1));
data/encfs-1.9.5/encfs/DirNode.cpp:381:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return DirTraverse(dp, iv, naming, (strlen(plaintextPath) == 1));
data/encfs-1.9.5/encfs/FileIO.h:70:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  virtual ssize_t read(const IORequest &req) const = 0;
data/encfs-1.9.5/encfs/FileNode.cpp:235:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
ssize_t FileNode::read(off_t offset, unsigned char *data, size_t size) const {
data/encfs-1.9.5/encfs/FileNode.cpp:243:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return io->read(req);
data/encfs-1.9.5/encfs/FileNode.h:82:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ssize_t read(off_t offset, unsigned char *data, size_t size) const;
data/encfs-1.9.5/encfs/FileUtils.cpp:291:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (!config->read("version", &version) &&
data/encfs-1.9.5/encfs/FileUtils.cpp:292:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      !config->read("@version", &version)) {
data/encfs-1.9.5/encfs/FileUtils.cpp:315:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  config->read("creator", &cfg->creator);
data/encfs-1.9.5/encfs/FileUtils.cpp:316:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  config->read("cipherAlg", &cfg->cipherIface);
data/encfs-1.9.5/encfs/FileUtils.cpp:317:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  config->read("nameAlg", &cfg->nameIface);
data/encfs-1.9.5/encfs/FileUtils.cpp:319:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  config->read("keySize", &cfg->keySize);
data/encfs-1.9.5/encfs/FileUtils.cpp:321:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  config->read("blockSize", &cfg->blockSize);
data/encfs-1.9.5/encfs/FileUtils.cpp:322:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  config->read("plainData", &cfg->plainData);
data/encfs-1.9.5/encfs/FileUtils.cpp:323:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  config->read("uniqueIV", &cfg->uniqueIV);
data/encfs-1.9.5/encfs/FileUtils.cpp:324:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  config->read("chainedNameIV", &cfg->chainedNameIV);
data/encfs-1.9.5/encfs/FileUtils.cpp:325:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  config->read("externalIVChaining", &cfg->externalIVChaining);
data/encfs-1.9.5/encfs/FileUtils.cpp:326:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  config->read("blockMACBytes", &cfg->blockMACBytes);
data/encfs-1.9.5/encfs/FileUtils.cpp:327:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  config->read("blockMACRandBytes", &cfg->blockMACRandBytes);
data/encfs-1.9.5/encfs/FileUtils.cpp:328:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  config->read("allowHoles", &cfg->allowHoles);
data/encfs-1.9.5/encfs/FileUtils.cpp:331:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  config->read("encodedKeySize", &encodedSize);
data/encfs-1.9.5/encfs/FileUtils.cpp:339:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    config->read("saltLen", &saltLen);
data/encfs-1.9.5/encfs/FileUtils.cpp:345:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    config->read("kdfIterations", &cfg->kdfIterations);
data/encfs-1.9.5/encfs/FileUtils.cpp:346:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    config->read("desiredKDFDuration", &cfg->desiredKDFDuration);
data/encfs-1.9.5/encfs/FileUtils.cpp:1460:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (passBuf[strlen(passBuf) - 1] == '\n') {
data/encfs-1.9.5/encfs/FileUtils.cpp:1461:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      passBuf[strlen(passBuf) - 1] = '\0';
data/encfs-1.9.5/encfs/FileUtils.cpp:1474:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    userKey = makeKey(passBuf, strlen(passBuf));
data/encfs-1.9.5/encfs/FileUtils.cpp:1598:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      userKey = makeKey(passBuf, strlen(passBuf));
data/encfs-1.9.5/encfs/MACFileIO.cpp:160:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ssize_t readSize = base->read(tmp);
data/encfs-1.9.5/encfs/NameIO.cpp:157:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int len = next != nullptr ? next - path : strlen(path);
data/encfs-1.9.5/encfs/RawFileIO.cpp:205:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
ssize_t RawFileIO::read(const IORequest &req) const {
data/encfs-1.9.5/encfs/RawFileIO.h:48:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  virtual ssize_t read(const IORequest &req) const;
data/encfs-1.9.5/encfs/XmlReader.cpp:48:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool XmlValue::read(const char *path, std::string *out) const {
data/encfs-1.9.5/encfs/XmlReader.cpp:58:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool XmlValue::read(const char *path, int *out) const {
data/encfs-1.9.5/encfs/XmlReader.cpp:76:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool XmlValue::read(const char *path, long *out) const {
data/encfs-1.9.5/encfs/XmlReader.cpp:87:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool XmlValue::read(const char *path, double *out) const {
data/encfs-1.9.5/encfs/XmlReader.cpp:98:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool XmlValue::read(const char *path, bool *out) const {
data/encfs-1.9.5/encfs/XmlReader.cpp:135:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool XmlValue::read(const char *path, Interface *out) const {
data/encfs-1.9.5/encfs/XmlReader.cpp:141:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool ok = node->read("name", &out->name()) &&
data/encfs-1.9.5/encfs/XmlReader.cpp:142:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            node->read("major", &out->current()) &&
data/encfs-1.9.5/encfs/XmlReader.cpp:143:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            node->read("minor", &out->revision());
data/encfs-1.9.5/encfs/XmlReader.h:47:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read(const char *path, std::string *out) const;
data/encfs-1.9.5/encfs/XmlReader.h:50:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read(const char *path, int *out) const;
data/encfs-1.9.5/encfs/XmlReader.h:51:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read(const char *path, long *out) const;
data/encfs-1.9.5/encfs/XmlReader.h:52:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read(const char *path, double *out) const;
data/encfs-1.9.5/encfs/XmlReader.h:53:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read(const char *path, bool *out) const;
data/encfs-1.9.5/encfs/XmlReader.h:55:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read(const char *path, Interface *out) const;
data/encfs-1.9.5/encfs/autosprintf.cpp:58:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t length = strlen(str) + 1;
data/encfs-1.9.5/encfs/encfs.cpp:143:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(path) == 1) {
data/encfs-1.9.5/encfs/encfs.cpp:431:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(buf, decodedName.c_str(), size - 1);
data/encfs-1.9.5/encfs/encfs.cpp:725:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return fnode->read(off, ptr, size);
data/encfs-1.9.5/encfs/encfsctl.cpp:406:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      int bytes = node->read(i * sizeof(buf), buf, sizeof(buf));
data/encfs-1.9.5/encfs/main.cpp:767:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(0);
data/encfs-1.9.5/encfs/readpassphrase.cpp:129:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (write(output, prompt, strlen(prompt)) != -1) {
data/encfs-1.9.5/encfs/readpassphrase.cpp:133:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  for (p = buf; (nr = read(input, &ch, 1)) == 1 && ch != '\n' && ch != '\r';) {
data/encfs-1.9.5/intl/gettext.h:213:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t msgctxt_len = strlen (msgctxt) + 1;
data/encfs-1.9.5/intl/gettext.h:214:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t msgid_len = strlen (msgid) + 1;
data/encfs-1.9.5/intl/gettext.h:259:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t msgctxt_len = strlen (msgctxt) + 1;
data/encfs-1.9.5/intl/gettext.h:260:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t msgid_len = strlen (msgid) + 1;
data/encfs-1.9.5/vendor/github.com/google/benchmark/src/benchmark.cc:489:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (has_repetitions) name_field_width += std::strlen("_stddev");
data/encfs-1.9.5/vendor/github.com/google/benchmark/src/sysinfo.cc:78:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ssize_t read_err = read(fd, line, sizeof(line) - 1);
data/encfs-1.9.5/vendor/github.com/google/benchmark/src/sysinfo.cc:161:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    const size_t oldlinelen = strlen(line);
data/encfs-1.9.5/vendor/github.com/google/benchmark/src/sysinfo.cc:169:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      const size_t linelen = strlen(line);
data/encfs-1.9.5/vendor/github.com/google/benchmark/src/sysinfo.cc:172:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      chars_read = read(fd, line + linelen, bytes_to_read);
data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/test/gmock-generated-matchers_test.cc:466:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    nested.push_back(list<char>(strings[i], strings[i] + strlen(strings[i])));
data/encfs-1.9.5/vendor/github.com/google/googletest/googlemock/test/gmock-matchers_test.cc:3929:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int operator()(const char* s) { return static_cast<int>(strlen(s)); }
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/internal/gtest-port.h:2357:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  return strncpy(dest, src, n);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/include/gtest/internal/gtest-port.h:2379:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return static_cast<int>(read(fd, buf, count));
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/samples/sample2.cc:42:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t len = strlen(a_c_string);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/samples/sample2.h:77:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return c_string_ == NULL ? 0 : strlen(c_string_);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-port.cc:599:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t full_regex_len = strlen(regex) + 10;
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-port.cc:853:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t len = strlen(regex);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-port.cc:1065:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  else if (temp_dir[strlen(temp_dir) - 1] == '\\')
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-printers.cc:325:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    PrintCharsAsStringTo(s, strlen(s), os);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest-printers.cc:342:34:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    PrintCharsAsStringTo(s, std::wcslen(s), os);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest.cc:860:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const int length = strlen(ansi);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest.cc:1825:34:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    num_chars = static_cast<int>(wcslen(str));
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest.cc:3598:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      segment = next_segment + strlen("]]>");
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest.cc:3763:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  result.reserve(strlen(str) + 1);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/src/gtest.cc:5002:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t prefix_len = strlen(prefix);
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/test/gtest-printers_test.cc:872:20:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  EXPECT_TRUE(std::equal(a, a + kSize, numbers.begin()));
data/encfs-1.9.5/vendor/github.com/google/googletest/googletest/xcode/Samples/FrameworkSample/widget.cc:60:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(buffer, name_.c_str(), max_size-1);
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:183:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen( str );
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:200:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t length = strlen( endTag );
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:1064:18:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            if ( mismatch ) {
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:2180:10:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( fgetc( fp ) == EOF && ferror( fp ) != 0 ) {
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:2209:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( read != size ) {
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/tinyxml2.cpp:2254:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len = strlen( p );
data/encfs-1.9.5/vendor/github.com/leethomason/tinyxml2/xmltest.cpp:1282:53:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		XMLTest( "Infinite loop in shallow equal.", true, equal );
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/OpenGL/Cube/imageloader.cpp:39:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        input.read(buffer, 4);
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/OpenGL/Cube/imageloader.cpp:47:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        input.read(buffer, 2);
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/OpenGL/Cube/imageloader.cpp:126:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    input.read(buffer, 2);
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/OpenGL/Cube/imageloader.cpp:173:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    input.read(pixels.get(), size);
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/file-splitter-joiner/partprocessor.cpp:97:40:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dataBytes = this->sourceFile_->read(data, nextBuffLength);
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/samples/Qt/file-splitter-joiner/partprocessor.cpp:146:44:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            dataBytes = this->sourceFile_->read(data, PartProcessor::kBufferSize);
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.cc:754:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  std::size_t sizeOfFilename = strlen(filename);
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.cc:769:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  std::size_t sizeOfFilename = strlen(filename);
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.cc:939:22:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  std::size_t len_ = wcslen(line) + 1;
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.cc:1000:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (hBuff[strlen(hBuff) - 1] == '\n') {
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.cc:1001:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      hBuff[strlen(hBuff) - 1] = '\0';
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.cc:1250:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (v != nullptr && strlen(v) > 0) {
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.cc:1312:3:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  usleep(ms * 1000);
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.cc:1876:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      std::string chr(ss.str().substr(0, ss.str().size() - strlen(prev)));
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.cc:1881:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      std::string chr(ss.str().substr(0, ss.str().size() - strlen(sfx)));
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.cc:2804:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (sourceFile != nullptr && strlen(sourceFile) > 0) {
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.h:499:23:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#  define ELPP_STRLEN wcslen
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.h:512:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#  define ELPP_STRLEN strlen
data/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/test/file-utils-test.h:21:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    EXPECT_EQ(File::getSizeOfFile(fs), strlen(data));

ANALYSIS SUMMARY:

Hits = 438
Lines analyzed = 135734 in approximately 3.15 seconds (43023 lines/second)
Physical Source Lines of Code (SLOC) = 90412
Hits@level = [0] 206 [1] 122 [2] 223 [3]  47 [4]  39 [5]   7
Hits@level+ = [0+] 644 [1+] 438 [2+] 316 [3+]  93 [4+]  46 [5+]   7
Hits/KSLOC@level+ = [0+] 7.12295 [1+] 4.84449 [2+] 3.49511 [3+] 1.02862 [4+] 0.508782 [5+] 0.0774234
Dot directories skipped = 3 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.