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/libsmraw-20181227/libfcache/libfcache_extern.h Examining data/libsmraw-20181227/libfcache/libfcache_types.h Examining data/libsmraw-20181227/libfcache/libfcache_cache.h Examining data/libsmraw-20181227/libfcache/libfcache_support.h Examining data/libsmraw-20181227/libfcache/libfcache_support.c Examining data/libsmraw-20181227/libfcache/libfcache_libcdata.h Examining data/libsmraw-20181227/libfcache/libfcache_unused.h Examining data/libsmraw-20181227/libfcache/libfcache_libcerror.h Examining data/libsmraw-20181227/libfcache/libfcache_definitions.h Examining data/libsmraw-20181227/libfcache/libfcache_cache_value.h Examining data/libsmraw-20181227/libfcache/libfcache_cache_value.c Examining data/libsmraw-20181227/libfcache/libfcache_error.c Examining data/libsmraw-20181227/libfcache/libfcache_date_time.c Examining data/libsmraw-20181227/libfcache/libfcache_cache.c Examining data/libsmraw-20181227/libfcache/libfcache_error.h Examining data/libsmraw-20181227/libfcache/libfcache_date_time.h Examining data/libsmraw-20181227/common/config_msc.h Examining data/libsmraw-20181227/common/byte_stream.h Examining data/libsmraw-20181227/common/common.h Examining data/libsmraw-20181227/common/system_string.h Examining data/libsmraw-20181227/common/types.h Examining data/libsmraw-20181227/common/config_winapi.h Examining data/libsmraw-20181227/common/memory.h Examining data/libsmraw-20181227/common/config.h Examining data/libsmraw-20181227/common/narrow_string.h Examining data/libsmraw-20181227/common/file_stream.h Examining data/libsmraw-20181227/common/config_borlandc.h Examining data/libsmraw-20181227/common/wide_string.h Examining data/libsmraw-20181227/smrawtools/mount_file_system.h Examining data/libsmraw-20181227/smrawtools/process_status.h Examining data/libsmraw-20181227/smrawtools/digest_hash.h Examining data/libsmraw-20181227/smrawtools/smrawtools_glob.h Examining data/libsmraw-20181227/smrawtools/mount_file_system.c Examining data/libsmraw-20181227/smrawtools/smrawverify.c Examining data/libsmraw-20181227/smrawtools/smrawtools_unused.h Examining data/libsmraw-20181227/smrawtools/verification_handle.h Examining data/libsmraw-20181227/smrawtools/mount_fuse.c Examining data/libsmraw-20181227/smrawtools/verification_handle.c Examining data/libsmraw-20181227/smrawtools/mount_dokan.h Examining data/libsmraw-20181227/smrawtools/smrawtools_i18n.h Examining data/libsmraw-20181227/smrawtools/smrawtools_find.h Examining data/libsmraw-20181227/smrawtools/smrawtools_getopt.c Examining data/libsmraw-20181227/smrawtools/mount_file_entry.c Examining data/libsmraw-20181227/smrawtools/storage_media_buffer.h Examining data/libsmraw-20181227/smrawtools/mount_fuse.h Examining data/libsmraw-20181227/smrawtools/mount_handle.h Examining data/libsmraw-20181227/smrawtools/mount_handle.c Examining data/libsmraw-20181227/smrawtools/smrawtools_system_split_string.h Examining data/libsmraw-20181227/smrawtools/smrawtools_libcdata.h Examining data/libsmraw-20181227/smrawtools/log_handle.h Examining data/libsmraw-20181227/smrawtools/process_status.c Examining data/libsmraw-20181227/smrawtools/smrawtools_signal.c Examining data/libsmraw-20181227/smrawtools/mount_dokan.c Examining data/libsmraw-20181227/smrawtools/smrawtools_output.c Examining data/libsmraw-20181227/smrawtools/mount_file_entry.h Examining data/libsmraw-20181227/smrawtools/smrawtools_libbfio.h Examining data/libsmraw-20181227/smrawtools/smrawtools_getopt.h Examining data/libsmraw-20181227/smrawtools/smrawtools_libhmac.h Examining data/libsmraw-20181227/smrawtools/byte_size_string.c Examining data/libsmraw-20181227/smrawtools/smrawtools_signal.h Examining data/libsmraw-20181227/smrawtools/smrawtools_glob.c Examining data/libsmraw-20181227/smrawtools/log_handle.c Examining data/libsmraw-20181227/smrawtools/smrawtools_libcsplit.h Examining data/libsmraw-20181227/smrawtools/smrawtools_libcnotify.h Examining data/libsmraw-20181227/smrawtools/smrawmount.c Examining data/libsmraw-20181227/smrawtools/digest_hash.c Examining data/libsmraw-20181227/smrawtools/smrawtools_libfvalue.h Examining data/libsmraw-20181227/smrawtools/byte_size_string.h Examining data/libsmraw-20181227/smrawtools/smrawtools_libclocale.h Examining data/libsmraw-20181227/smrawtools/smrawtools_libcerror.h Examining data/libsmraw-20181227/smrawtools/smrawtools_libsmraw.h Examining data/libsmraw-20181227/smrawtools/storage_media_buffer.c Examining data/libsmraw-20181227/smrawtools/smrawtools_libuna.h Examining data/libsmraw-20181227/smrawtools/smrawtools_output.h Examining data/libsmraw-20181227/libsmraw/libsmraw_libbfio.h Examining data/libsmraw-20181227/libsmraw/libsmraw_support.h Examining data/libsmraw-20181227/libsmraw/libsmraw_error.h Examining data/libsmraw-20181227/libsmraw/libsmraw_error.c Examining data/libsmraw-20181227/libsmraw/libsmraw_handle.c Examining data/libsmraw-20181227/libsmraw/libsmraw_information_file.c Examining data/libsmraw-20181227/libsmraw/libsmraw_libuna.h Examining data/libsmraw-20181227/libsmraw/libsmraw_libclocale.h Examining data/libsmraw-20181227/libsmraw/libsmraw_libfdata.h Examining data/libsmraw-20181227/libsmraw/libsmraw_types.h Examining data/libsmraw-20181227/libsmraw/libsmraw_filename.h Examining data/libsmraw-20181227/libsmraw/libsmraw_libfvalue.h Examining data/libsmraw-20181227/libsmraw/libsmraw_io_handle.h Examining data/libsmraw-20181227/libsmraw/libsmraw_filename.c Examining data/libsmraw-20181227/libsmraw/libsmraw_information_file.h Examining data/libsmraw-20181227/libsmraw/libsmraw_libcthreads.h Examining data/libsmraw-20181227/libsmraw/libsmraw_libcnotify.h Examining data/libsmraw-20181227/libsmraw/libsmraw_io_handle.c Examining data/libsmraw-20181227/libsmraw/libsmraw_libcerror.h Examining data/libsmraw-20181227/libsmraw/libsmraw_notify.h Examining data/libsmraw-20181227/libsmraw/libsmraw_notify.c Examining data/libsmraw-20181227/libsmraw/libsmraw_handle.h Examining data/libsmraw-20181227/libsmraw/libsmraw_extern.h Examining data/libsmraw-20181227/libsmraw/libsmraw_support.c Examining data/libsmraw-20181227/libsmraw/libsmraw_codepage.h Examining data/libsmraw-20181227/libsmraw/libsmraw_unused.h Examining data/libsmraw-20181227/libsmraw/libsmraw_definitions.h Examining data/libsmraw-20181227/libsmraw/libsmraw.c Examining data/libsmraw-20181227/tests/smraw_test_read_loop.c Examining data/libsmraw-20181227/tests/smraw_test_functions.h Examining data/libsmraw-20181227/tests/smraw_test_information_file.c Examining data/libsmraw-20181227/tests/smraw_test_memory.c Examining data/libsmraw-20181227/tests/smraw_test_libcerror.h Examining data/libsmraw-20181227/tests/smraw_test_memory.h Examining data/libsmraw-20181227/tests/smraw_test_libcpath.h Examining data/libsmraw-20181227/tests/smraw_test_support.c Examining data/libsmraw-20181227/tests/smraw_test_notify.c Examining data/libsmraw-20181227/tests/smraw_test_libclocale.h Examining data/libsmraw-20181227/tests/smraw_test_getopt.c Examining data/libsmraw-20181227/tests/smraw_test_write.c Examining data/libsmraw-20181227/tests/smraw_test_glob.c Examining data/libsmraw-20181227/tests/smraw_test_libcnotify.h Examining data/libsmraw-20181227/tests/smraw_test_getopt.h Examining data/libsmraw-20181227/tests/smraw_test_libuna.h Examining data/libsmraw-20181227/tests/smraw_test_error.c Examining data/libsmraw-20181227/tests/smraw_test_handle.c Examining data/libsmraw-20181227/tests/smraw_test_macros.h Examining data/libsmraw-20181227/tests/smraw_test_io_handle.c Examining data/libsmraw-20181227/tests/smraw_test_functions.c Examining data/libsmraw-20181227/tests/smraw_test_unused.h Examining data/libsmraw-20181227/tests/smraw_test_libbfio.h Examining data/libsmraw-20181227/tests/smraw_test_libhmac.h Examining data/libsmraw-20181227/tests/smraw_test_libsmraw.h Examining data/libsmraw-20181227/libclocale/libclocale_wide_string.h Examining data/libsmraw-20181227/libclocale/libclocale_support.c Examining data/libsmraw-20181227/libclocale/libclocale_locale.h Examining data/libsmraw-20181227/libclocale/libclocale_locale.c Examining data/libsmraw-20181227/libclocale/libclocale_extern.h Examining data/libsmraw-20181227/libclocale/libclocale_unused.h Examining data/libsmraw-20181227/libclocale/libclocale_support.h Examining data/libsmraw-20181227/libclocale/libclocale_definitions.h Examining data/libsmraw-20181227/libclocale/libclocale_codepage.h Examining data/libsmraw-20181227/libclocale/libclocale_codepage.c Examining data/libsmraw-20181227/libclocale/libclocale_wide_string.c Examining data/libsmraw-20181227/libclocale/libclocale_libcerror.h Examining data/libsmraw-20181227/libbfio/libbfio_handle.h Examining data/libsmraw-20181227/libbfio/libbfio_libcerror.h Examining data/libsmraw-20181227/libbfio/libbfio_handle.c Examining data/libsmraw-20181227/libbfio/libbfio_libuna.h Examining data/libsmraw-20181227/libbfio/libbfio_definitions.h Examining data/libsmraw-20181227/libbfio/libbfio_libclocale.h Examining data/libsmraw-20181227/libbfio/libbfio_codepage.h Examining data/libsmraw-20181227/libbfio/libbfio_libcdata.h Examining data/libsmraw-20181227/libbfio/libbfio_extern.h Examining data/libsmraw-20181227/libbfio/libbfio_file_range.c Examining data/libsmraw-20181227/libbfio/libbfio_file_range_io_handle.c Examining data/libsmraw-20181227/libbfio/libbfio_file_pool.c Examining data/libsmraw-20181227/libbfio/libbfio_file.c Examining data/libsmraw-20181227/libbfio/libbfio_pool.h Examining data/libsmraw-20181227/libbfio/libbfio_file_range.h Examining data/libsmraw-20181227/libbfio/libbfio_system_string.h Examining data/libsmraw-20181227/libbfio/libbfio_file_io_handle.h Examining data/libsmraw-20181227/libbfio/libbfio_memory_range_io_handle.c Examining data/libsmraw-20181227/libbfio/libbfio_file.h Examining data/libsmraw-20181227/libbfio/libbfio_support.c Examining data/libsmraw-20181227/libbfio/libbfio_file_pool.h Examining data/libsmraw-20181227/libbfio/libbfio_memory_range_io_handle.h Examining data/libsmraw-20181227/libbfio/libbfio_error.h Examining data/libsmraw-20181227/libbfio/libbfio_libcthreads.h Examining data/libsmraw-20181227/libbfio/libbfio_system_string.c Examining data/libsmraw-20181227/libbfio/libbfio_memory_range.h Examining data/libsmraw-20181227/libbfio/libbfio_file_range_io_handle.h Examining data/libsmraw-20181227/libbfio/libbfio_memory_range.c Examining data/libsmraw-20181227/libbfio/libbfio_pool.c Examining data/libsmraw-20181227/libbfio/libbfio_unused.h Examining data/libsmraw-20181227/libbfio/libbfio_libcpath.h Examining data/libsmraw-20181227/libbfio/libbfio_libcfile.h Examining data/libsmraw-20181227/libbfio/libbfio_support.h Examining data/libsmraw-20181227/libbfio/libbfio_file_io_handle.c Examining data/libsmraw-20181227/libbfio/libbfio_error.c Examining data/libsmraw-20181227/libbfio/libbfio_types.h Examining data/libsmraw-20181227/include/libsmraw.h Examining data/libsmraw-20181227/include/libsmraw/extern.h Examining data/libsmraw-20181227/include/libsmraw/types.h Examining data/libsmraw-20181227/include/libsmraw/features.h Examining data/libsmraw-20181227/include/libsmraw/definitions.h Examining data/libsmraw-20181227/include/libsmraw/codepage.h Examining data/libsmraw-20181227/include/libsmraw/error.h Examining data/libsmraw-20181227/smraw.net/smraw.net.h Examining data/libsmraw-20181227/smraw.net/smraw.net_handle.cpp Examining data/libsmraw-20181227/smraw.net/smraw.net_handle.h Examining data/libsmraw-20181227/smraw.net/smraw.net.cpp Examining data/libsmraw-20181227/libcfile/libcfile_file.c Examining data/libsmraw-20181227/libcfile/libcfile_libclocale.h Examining data/libsmraw-20181227/libcfile/libcfile_support.c Examining data/libsmraw-20181227/libcfile/libcfile_support.h Examining data/libsmraw-20181227/libcfile/libcfile_error.c Examining data/libsmraw-20181227/libcfile/libcfile_libcerror.h Examining data/libsmraw-20181227/libcfile/libcfile_unused.h Examining data/libsmraw-20181227/libcfile/libcfile_types.h Examining data/libsmraw-20181227/libcfile/libcfile_extern.h Examining data/libsmraw-20181227/libcfile/libcfile_notify.h Examining data/libsmraw-20181227/libcfile/libcfile_definitions.h Examining data/libsmraw-20181227/libcfile/libcfile_file.h Examining data/libsmraw-20181227/libcfile/libcfile_error.h Examining data/libsmraw-20181227/libcfile/libcfile_system_string.c Examining data/libsmraw-20181227/libcfile/libcfile_system_string.h Examining data/libsmraw-20181227/libcfile/libcfile_libcnotify.h Examining data/libsmraw-20181227/libcfile/libcfile_libuna.h Examining data/libsmraw-20181227/libcfile/libcfile_notify.c Examining data/libsmraw-20181227/libcthreads/libcthreads_thread_pool.h Examining data/libsmraw-20181227/libcthreads/libcthreads_thread_pool.c Examining data/libsmraw-20181227/libcthreads/libcthreads_repeating_thread.c Examining data/libsmraw-20181227/libcthreads/libcthreads_error.c Examining data/libsmraw-20181227/libcthreads/libcthreads_unused.h Examining data/libsmraw-20181227/libcthreads/libcthreads_condition.h Examining data/libsmraw-20181227/libcthreads/libcthreads_definitions.h Examining data/libsmraw-20181227/libcthreads/libcthreads_thread.h Examining data/libsmraw-20181227/libcthreads/libcthreads_repeating_thread.h Examining data/libsmraw-20181227/libcthreads/libcthreads_read_write_lock.c Examining data/libsmraw-20181227/libcthreads/libcthreads_mutex.h Examining data/libsmraw-20181227/libcthreads/libcthreads_support.h Examining data/libsmraw-20181227/libcthreads/libcthreads_thread.c Examining data/libsmraw-20181227/libcthreads/libcthreads_mutex.c Examining data/libsmraw-20181227/libcthreads/libcthreads_types.h Examining data/libsmraw-20181227/libcthreads/libcthreads_lock.h Examining data/libsmraw-20181227/libcthreads/libcthreads_extern.h Examining data/libsmraw-20181227/libcthreads/libcthreads_error.h Examining data/libsmraw-20181227/libcthreads/libcthreads_queue.c Examining data/libsmraw-20181227/libcthreads/libcthreads_condition.c Examining data/libsmraw-20181227/libcthreads/libcthreads_thread_attributes.c Examining data/libsmraw-20181227/libcthreads/libcthreads_libcerror.h Examining data/libsmraw-20181227/libcthreads/libcthreads_lock.c Examining data/libsmraw-20181227/libcthreads/libcthreads_support.c Examining data/libsmraw-20181227/libcthreads/libcthreads_read_write_lock.h Examining data/libsmraw-20181227/libcthreads/libcthreads_thread_attributes.h Examining data/libsmraw-20181227/libcthreads/libcthreads_queue.h Examining data/libsmraw-20181227/libcpath/libcpath_unused.h Examining data/libsmraw-20181227/libcpath/libcpath_support.c Examining data/libsmraw-20181227/libcpath/libcpath_libclocale.h Examining data/libsmraw-20181227/libcpath/libcpath_error.h Examining data/libsmraw-20181227/libcpath/libcpath_system_string.h Examining data/libsmraw-20181227/libcpath/libcpath_error.c Examining data/libsmraw-20181227/libcpath/libcpath_libcsplit.h Examining data/libsmraw-20181227/libcpath/libcpath_path.h Examining data/libsmraw-20181227/libcpath/libcpath_definitions.h Examining data/libsmraw-20181227/libcpath/libcpath_libcerror.h Examining data/libsmraw-20181227/libcpath/libcpath_extern.h Examining data/libsmraw-20181227/libcpath/libcpath_path.c Examining data/libsmraw-20181227/libcpath/libcpath_system_string.c Examining data/libsmraw-20181227/libcpath/libcpath_support.h Examining data/libsmraw-20181227/libcpath/libcpath_libuna.h Examining data/libsmraw-20181227/libhmac/libhmac_md5.h Examining data/libsmraw-20181227/libhmac/libhmac_sha1.c Examining data/libsmraw-20181227/libhmac/libhmac_support.c Examining data/libsmraw-20181227/libhmac/libhmac_definitions.h Examining data/libsmraw-20181227/libhmac/libhmac_error.c Examining data/libsmraw-20181227/libhmac/libhmac_sha256.c Examining data/libsmraw-20181227/libhmac/libhmac_sha512.c Examining data/libsmraw-20181227/libhmac/libhmac_sha256.h Examining data/libsmraw-20181227/libhmac/libhmac_support.h Examining data/libsmraw-20181227/libhmac/libhmac_md5.c Examining data/libsmraw-20181227/libhmac/libhmac_libcerror.h Examining data/libsmraw-20181227/libhmac/libhmac_extern.h Examining data/libsmraw-20181227/libhmac/libhmac_sha224.c Examining data/libsmraw-20181227/libhmac/libhmac_types.h Examining data/libsmraw-20181227/libhmac/libhmac_sha512.h Examining data/libsmraw-20181227/libhmac/libhmac_unused.h Examining data/libsmraw-20181227/libhmac/libhmac_sha224.h Examining data/libsmraw-20181227/libhmac/libhmac_sha1.h Examining data/libsmraw-20181227/libhmac/libhmac_error.h Examining data/libsmraw-20181227/libhmac/libhmac_byte_stream.h Examining data/libsmraw-20181227/libuna/libuna_url_stream.c Examining data/libsmraw-20181227/libuna/libuna_support.c Examining data/libsmraw-20181227/libuna/libuna_codepage_iso_8859_5.c Examining data/libsmraw-20181227/libuna/libuna_codepage_iso_8859_2.c Examining data/libsmraw-20181227/libuna/libuna_codepage_windows_1253.c Examining data/libsmraw-20181227/libuna/libuna_codepage_koi8_u.h Examining data/libsmraw-20181227/libuna/libuna_codepage_windows_1252.c Examining data/libsmraw-20181227/libuna/libuna_utf32_stream.c Examining data/libsmraw-20181227/libuna/libuna_codepage_windows_1257.h Examining data/libsmraw-20181227/libuna/libuna_utf32_string.c Examining data/libsmraw-20181227/libuna/libuna_codepage_windows_874.c Examining data/libsmraw-20181227/libuna/libuna_codepage_windows_1251.h Examining data/libsmraw-20181227/libuna/libuna_libcerror.h Examining data/libsmraw-20181227/libuna/libuna_codepage_windows_949.c Examining data/libsmraw-20181227/libuna/libuna_codepage_iso_8859_6.h Examining data/libsmraw-20181227/libuna/libuna_codepage_windows_1256.h Examining data/libsmraw-20181227/libuna/libuna_codepage_iso_8859_6.c Examining data/libsmraw-20181227/libuna/libuna_codepage_windows_874.h Examining data/libsmraw-20181227/libuna/libuna_codepage_windows_1251.c Examining data/libsmraw-20181227/libuna/libuna_codepage_windows_1256.c Examining data/libsmraw-20181227/libuna/libuna_base16_stream.h Examining data/libsmraw-20181227/libuna/libuna_codepage_iso_8859_2.h Examining data/libsmraw-20181227/libuna/libuna_codepage_windows_1257.c Examining data/libsmraw-20181227/libuna/libuna_codepage_windows_1254.h Examining data/libsmraw-20181227/libuna/libuna_codepage_windows_1255.c Examining data/libsmraw-20181227/libuna/libuna_unused.h Examining data/libsmraw-20181227/libuna/libuna_codepage_windows_1253.h Examining data/libsmraw-20181227/libuna/libuna_unicode_character.h Examining data/libsmraw-20181227/libuna/libuna_byte_stream.c Examining data/libsmraw-20181227/libuna/libuna_codepage_iso_8859_3.h Examining data/libsmraw-20181227/libuna/libuna_codepage_iso_8859_15.h Examining data/libsmraw-20181227/libuna/libuna_utf32_string.h Examining data/libsmraw-20181227/libuna/libuna_codepage_koi8_r.c Examining data/libsmraw-20181227/libuna/libuna_codepage_windows_936.h Examining data/libsmraw-20181227/libuna/libuna_base64_stream.h Examining data/libsmraw-20181227/libuna/libuna_codepage_windows_950.c Examining data/libsmraw-20181227/libuna/libuna_utf8_string.h Examining data/libsmraw-20181227/libuna/libuna_codepage_windows_936.c Examining data/libsmraw-20181227/libuna/libuna_unicode_character.c Examining data/libsmraw-20181227/libuna/libuna_utf8_string.c Examining data/libsmraw-20181227/libuna/libuna_base32_stream.c Examining data/libsmraw-20181227/libuna/libuna_codepage_windows_950.h Examining data/libsmraw-20181227/libuna/libuna_error.h Examining data/libsmraw-20181227/libuna/libuna_codepage_windows_932.h Examining data/libsmraw-20181227/libuna/libuna_utf8_stream.c Examining data/libsmraw-20181227/libuna/libuna_codepage_koi8_r.h Examining data/libsmraw-20181227/libuna/libuna_base16_stream.c Examining data/libsmraw-20181227/libuna/libuna_codepage_windows_1250.h Examining data/libsmraw-20181227/libuna/libuna_codepage_iso_8859_16.h Examining data/libsmraw-20181227/libuna/libuna_utf16_stream.h Examining data/libsmraw-20181227/libuna/libuna_codepage_iso_8859_10.h Examining data/libsmraw-20181227/libuna/libuna_codepage_windows_932.c Examining data/libsmraw-20181227/libuna/libuna_utf8_stream.h Examining data/libsmraw-20181227/libuna/libuna_url_stream.h Examining data/libsmraw-20181227/libuna/libuna_codepage_windows_949.h Examining data/libsmraw-20181227/libuna/libuna_codepage_iso_8859_8.c Examining data/libsmraw-20181227/libuna/libuna_types.h Examining data/libsmraw-20181227/libuna/libuna_codepage_windows_1252.h Examining data/libsmraw-20181227/libuna/libuna_codepage_windows_1250.c Examining data/libsmraw-20181227/libuna/libuna_utf16_string.c Examining data/libsmraw-20181227/libuna/libuna_codepage_iso_8859_5.h Examining data/libsmraw-20181227/libuna/libuna_extern.h Examining data/libsmraw-20181227/libuna/libuna_codepage_iso_8859_4.h Examining data/libsmraw-20181227/libuna/libuna_byte_stream.h Examining data/libsmraw-20181227/libuna/libuna_utf16_string.h Examining data/libsmraw-20181227/libuna/libuna_codepage_iso_8859_4.c Examining data/libsmraw-20181227/libuna/libuna_codepage_iso_8859_10.c Examining data/libsmraw-20181227/libuna/libuna_utf7_stream.h Examining data/libsmraw-20181227/libuna/libuna_base32_stream.h Examining data/libsmraw-20181227/libuna/libuna_utf16_stream.c Examining data/libsmraw-20181227/libuna/libuna_utf7_stream.c Examining data/libsmraw-20181227/libuna/libuna_support.h Examining data/libsmraw-20181227/libuna/libuna_utf32_stream.h Examining data/libsmraw-20181227/libuna/libuna_codepage_iso_8859_3.c Examining data/libsmraw-20181227/libuna/libuna_definitions.h Examining data/libsmraw-20181227/libuna/libuna_codepage_windows_1255.h Examining data/libsmraw-20181227/libuna/libuna_codepage_iso_8859_14.c Examining data/libsmraw-20181227/libuna/libuna_codepage_iso_8859_13.c Examining data/libsmraw-20181227/libuna/libuna_codepage_iso_8859_8.h Examining data/libsmraw-20181227/libuna/libuna_codepage_iso_8859_9.c Examining data/libsmraw-20181227/libuna/libuna_codepage_windows_1254.c Examining data/libsmraw-20181227/libuna/libuna_codepage_windows_1258.c Examining data/libsmraw-20181227/libuna/libuna_codepage_iso_8859_15.c Examining data/libsmraw-20181227/libuna/libuna_codepage_iso_8859_7.c Examining data/libsmraw-20181227/libuna/libuna_codepage_iso_8859_9.h Examining data/libsmraw-20181227/libuna/libuna_codepage_windows_1258.h Examining data/libsmraw-20181227/libuna/libuna_base64_stream.c Examining data/libsmraw-20181227/libuna/libuna_error.c Examining data/libsmraw-20181227/libuna/libuna_codepage_koi8_u.c Examining data/libsmraw-20181227/libuna/libuna_codepage_iso_8859_13.h Examining data/libsmraw-20181227/libuna/libuna_codepage_iso_8859_7.h Examining data/libsmraw-20181227/libuna/libuna_codepage_iso_8859_14.h Examining data/libsmraw-20181227/libuna/libuna_codepage_iso_8859_16.c Examining data/libsmraw-20181227/libfvalue/libfvalue_split_utf8_string.c Examining data/libsmraw-20181227/libfvalue/libfvalue_support.h Examining data/libsmraw-20181227/libfvalue/libfvalue_value_entry.c Examining data/libsmraw-20181227/libfvalue/libfvalue_libfwnt.h Examining data/libsmraw-20181227/libfvalue/libfvalue_utf8_string.h Examining data/libsmraw-20181227/libfvalue/libfvalue_libcerror.h Examining data/libsmraw-20181227/libfvalue/libfvalue_split_utf16_string.h Examining data/libsmraw-20181227/libfvalue/libfvalue_value.c Examining data/libsmraw-20181227/libfvalue/libfvalue_libcnotify.h Examining data/libsmraw-20181227/libfvalue/libfvalue_types.h Examining data/libsmraw-20181227/libfvalue/libfvalue_integer.h Examining data/libsmraw-20181227/libfvalue/libfvalue_support.c Examining data/libsmraw-20181227/libfvalue/libfvalue_split_utf16_string.c Examining data/libsmraw-20181227/libfvalue/libfvalue_unused.h Examining data/libsmraw-20181227/libfvalue/libfvalue_floating_point.c Examining data/libsmraw-20181227/libfvalue/libfvalue_utf8_string.c Examining data/libsmraw-20181227/libfvalue/libfvalue_utf16_string.h Examining data/libsmraw-20181227/libfvalue/libfvalue_codepage.h Examining data/libsmraw-20181227/libfvalue/libfvalue_string.c Examining data/libsmraw-20181227/libfvalue/libfvalue_data_handle.c Examining data/libsmraw-20181227/libfvalue/libfvalue_libcdata.h Examining data/libsmraw-20181227/libfvalue/libfvalue_extern.h Examining data/libsmraw-20181227/libfvalue/libfvalue_libfdatetime.h Examining data/libsmraw-20181227/libfvalue/libfvalue_value_entry.h Examining data/libsmraw-20181227/libfvalue/libfvalue_split_utf8_string.h Examining data/libsmraw-20181227/libfvalue/libfvalue_value.h Examining data/libsmraw-20181227/libfvalue/libfvalue_binary_data.h Examining data/libsmraw-20181227/libfvalue/libfvalue_value_type.h Examining data/libsmraw-20181227/libfvalue/libfvalue_utf16_string.c Examining data/libsmraw-20181227/libfvalue/libfvalue_value_type.c Examining data/libsmraw-20181227/libfvalue/libfvalue_libuna.h Examining data/libsmraw-20181227/libfvalue/libfvalue_error.c Examining data/libsmraw-20181227/libfvalue/libfvalue_error.h Examining data/libsmraw-20181227/libfvalue/libfvalue_filetime.c Examining data/libsmraw-20181227/libfvalue/libfvalue_table.c Examining data/libsmraw-20181227/libfvalue/libfvalue_libfguid.h Examining data/libsmraw-20181227/libfvalue/libfvalue_string.h Examining data/libsmraw-20181227/libfvalue/libfvalue_table.h Examining data/libsmraw-20181227/libfvalue/libfvalue_floating_point.h Examining data/libsmraw-20181227/libfvalue/libfvalue_binary_data.c Examining data/libsmraw-20181227/libfvalue/libfvalue_filetime.h Examining data/libsmraw-20181227/libfvalue/libfvalue_integer.c Examining data/libsmraw-20181227/libfvalue/libfvalue_data_handle.h Examining data/libsmraw-20181227/libfvalue/libfvalue_definitions.h Examining data/libsmraw-20181227/libcerror/libcerror_system.c Examining data/libsmraw-20181227/libcerror/libcerror_error.c Examining data/libsmraw-20181227/libcerror/libcerror_extern.h Examining data/libsmraw-20181227/libcerror/libcerror_error.h Examining data/libsmraw-20181227/libcerror/libcerror_support.h Examining data/libsmraw-20181227/libcerror/libcerror_types.h Examining data/libsmraw-20181227/libcerror/libcerror_definitions.h Examining data/libsmraw-20181227/libcerror/libcerror_unused.h Examining data/libsmraw-20181227/libcerror/libcerror_support.c Examining data/libsmraw-20181227/libcerror/libcerror_system.h Examining data/libsmraw-20181227/libcnotify/libcnotify_libcerror.h Examining data/libsmraw-20181227/libcnotify/libcnotify_unused.h Examining data/libsmraw-20181227/libcnotify/libcnotify_support.h Examining data/libsmraw-20181227/libcnotify/libcnotify_support.c Examining data/libsmraw-20181227/libcnotify/libcnotify_print.c Examining data/libsmraw-20181227/libcnotify/libcnotify_verbose.c Examining data/libsmraw-20181227/libcnotify/libcnotify_stream.h Examining data/libsmraw-20181227/libcnotify/libcnotify_extern.h Examining data/libsmraw-20181227/libcnotify/libcnotify_stream.c Examining data/libsmraw-20181227/libcnotify/libcnotify_print.h Examining data/libsmraw-20181227/libcnotify/libcnotify_verbose.h Examining data/libsmraw-20181227/libcnotify/libcnotify_definitions.h Examining data/libsmraw-20181227/pysmraw/pysmraw_metadata.h Examining data/libsmraw-20181227/pysmraw/pysmraw_libcerror.h Examining data/libsmraw-20181227/pysmraw/pysmraw_integer.c Examining data/libsmraw-20181227/pysmraw/pysmraw_libsmraw.h Examining data/libsmraw-20181227/pysmraw/pysmraw.h Examining data/libsmraw-20181227/pysmraw/pysmraw_handle.h Examining data/libsmraw-20181227/pysmraw/pysmraw_unused.h Examining data/libsmraw-20181227/pysmraw/pysmraw_file_objects_io_pool.h Examining data/libsmraw-20181227/pysmraw/pysmraw_metadata.c Examining data/libsmraw-20181227/pysmraw/pysmraw.c Examining data/libsmraw-20181227/pysmraw/pysmraw_libbfio.h Examining data/libsmraw-20181227/pysmraw/pysmraw_handle.c Examining data/libsmraw-20181227/pysmraw/pysmraw_error.h Examining data/libsmraw-20181227/pysmraw/pysmraw_error.c Examining data/libsmraw-20181227/pysmraw/pysmraw_libclocale.h Examining data/libsmraw-20181227/pysmraw/pysmraw_file_object_io_handle.c Examining data/libsmraw-20181227/pysmraw/pysmraw_file_object_io_handle.h Examining data/libsmraw-20181227/pysmraw/pysmraw_integer.h Examining data/libsmraw-20181227/pysmraw/pysmraw_file_objects_io_pool.c Examining data/libsmraw-20181227/pysmraw/pysmraw_python.h Examining data/libsmraw-20181227/libfdata/libfdata_segments_array.h Examining data/libsmraw-20181227/libfdata/libfdata_cache.c Examining data/libsmraw-20181227/libfdata/libfdata_support.c Examining data/libsmraw-20181227/libfdata/libfdata_btree_node.c Examining data/libsmraw-20181227/libfdata/libfdata_list_element.c Examining data/libsmraw-20181227/libfdata/libfdata_mapped_range.h Examining data/libsmraw-20181227/libfdata/libfdata_extern.h Examining data/libsmraw-20181227/libfdata/libfdata_list.c Examining data/libsmraw-20181227/libfdata/libfdata_libcdata.h Examining data/libsmraw-20181227/libfdata/libfdata_notify.h Examining data/libsmraw-20181227/libfdata/libfdata_range_list.h Examining data/libsmraw-20181227/libfdata/libfdata_error.c Examining data/libsmraw-20181227/libfdata/libfdata_list.h Examining data/libsmraw-20181227/libfdata/libfdata_btree_range.c Examining data/libsmraw-20181227/libfdata/libfdata_area.h Examining data/libsmraw-20181227/libfdata/libfdata_tree_node.h Examining data/libsmraw-20181227/libfdata/libfdata_types.h Examining data/libsmraw-20181227/libfdata/libfdata_area.c Examining data/libsmraw-20181227/libfdata/libfdata_range.h Examining data/libsmraw-20181227/libfdata/libfdata_vector.c Examining data/libsmraw-20181227/libfdata/libfdata_stream.h Examining data/libsmraw-20181227/libfdata/libfdata_vector.h Examining data/libsmraw-20181227/libfdata/libfdata_btree.h Examining data/libsmraw-20181227/libfdata/libfdata_tree.h Examining data/libsmraw-20181227/libfdata/libfdata_support.h Examining data/libsmraw-20181227/libfdata/libfdata_libfcache.h Examining data/libsmraw-20181227/libfdata/libfdata_libcerror.h Examining data/libsmraw-20181227/libfdata/libfdata_range_list.c Examining data/libsmraw-20181227/libfdata/libfdata_btree_range.h Examining data/libsmraw-20181227/libfdata/libfdata_tree.c Examining data/libsmraw-20181227/libfdata/libfdata_tree_node.c Examining data/libsmraw-20181227/libfdata/libfdata_libcnotify.h Examining data/libsmraw-20181227/libfdata/libfdata_notify.c Examining data/libsmraw-20181227/libfdata/libfdata_btree_node.h Examining data/libsmraw-20181227/libfdata/libfdata_list_element.h Examining data/libsmraw-20181227/libfdata/libfdata_inline.h Examining data/libsmraw-20181227/libfdata/libfdata_btree.c Examining data/libsmraw-20181227/libfdata/libfdata_unused.h Examining data/libsmraw-20181227/libfdata/libfdata_error.h Examining data/libsmraw-20181227/libfdata/libfdata_cache.h Examining data/libsmraw-20181227/libfdata/libfdata_stream.c Examining data/libsmraw-20181227/libfdata/libfdata_segments_array.c Examining data/libsmraw-20181227/libfdata/libfdata_mapped_range.c Examining data/libsmraw-20181227/libfdata/libfdata_definitions.h Examining data/libsmraw-20181227/libfdata/libfdata_range.c Examining data/libsmraw-20181227/libcdata/libcdata_array.c Examining data/libsmraw-20181227/libcdata/libcdata_tree_node.c Examining data/libsmraw-20181227/libcdata/libcdata_libcthreads.h Examining data/libsmraw-20181227/libcdata/libcdata_range_list_value.h Examining data/libsmraw-20181227/libcdata/libcdata_unused.h Examining data/libsmraw-20181227/libcdata/libcdata_range_list.h Examining data/libsmraw-20181227/libcdata/libcdata_range_list.c Examining data/libsmraw-20181227/libcdata/libcdata_extern.h Examining data/libsmraw-20181227/libcdata/libcdata_support.c Examining data/libsmraw-20181227/libcdata/libcdata_list_element.h Examining data/libsmraw-20181227/libcdata/libcdata_range_list_value.c Examining data/libsmraw-20181227/libcdata/libcdata_libcerror.h Examining data/libsmraw-20181227/libcdata/libcdata_error.c Examining data/libsmraw-20181227/libcdata/libcdata_error.h Examining data/libsmraw-20181227/libcdata/libcdata_support.h Examining data/libsmraw-20181227/libcdata/libcdata_list.c Examining data/libsmraw-20181227/libcdata/libcdata_tree_node.h Examining data/libsmraw-20181227/libcdata/libcdata_list.h Examining data/libsmraw-20181227/libcdata/libcdata_types.h Examining data/libsmraw-20181227/libcdata/libcdata_list_element.c Examining data/libsmraw-20181227/libcdata/libcdata_array.h Examining data/libsmraw-20181227/libcdata/libcdata_btree.h Examining data/libsmraw-20181227/libcdata/libcdata_definitions.h Examining data/libsmraw-20181227/libcdata/libcdata_btree.c Examining data/libsmraw-20181227/libcsplit/libcsplit_types.h Examining data/libsmraw-20181227/libcsplit/libcsplit_wide_string.h Examining data/libsmraw-20181227/libcsplit/libcsplit_error.h Examining data/libsmraw-20181227/libcsplit/libcsplit_support.h Examining data/libsmraw-20181227/libcsplit/libcsplit_narrow_split_string.c Examining data/libsmraw-20181227/libcsplit/libcsplit_narrow_split_string.h Examining data/libsmraw-20181227/libcsplit/libcsplit_wide_split_string.c Examining data/libsmraw-20181227/libcsplit/libcsplit_narrow_string.h Examining data/libsmraw-20181227/libcsplit/libcsplit_unused.h Examining data/libsmraw-20181227/libcsplit/libcsplit_wide_string.c Examining data/libsmraw-20181227/libcsplit/libcsplit_narrow_string.c Examining data/libsmraw-20181227/libcsplit/libcsplit_wide_split_string.h Examining data/libsmraw-20181227/libcsplit/libcsplit_definitions.h Examining data/libsmraw-20181227/libcsplit/libcsplit_error.c Examining data/libsmraw-20181227/libcsplit/libcsplit_support.c Examining data/libsmraw-20181227/libcsplit/libcsplit_libcerror.h Examining data/libsmraw-20181227/libcsplit/libcsplit_extern.h FINAL RESULTS: data/libsmraw-20181227/common/file_stream.h:139:2: [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 data/libsmraw-20181227/common/file_stream.h:143:2: [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( stream, format, __VA_ARGS__ ) data/libsmraw-20181227/common/narrow_string.h:148:2: [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. snprintf data/libsmraw-20181227/common/narrow_string.h:152:2: [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. snprintf( target, size, __VA_ARGS__ ) data/libsmraw-20181227/common/narrow_string.h:159:2: [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. sscanf data/libsmraw-20181227/common/narrow_string.h:163:2: [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. If the scanf format is influenceable by an attacker, it's exploitable. sscanf( string, format, __VA_ARGS__ ) data/libsmraw-20181227/common/narrow_string.h:174:2: [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. vsnprintf data/libsmraw-20181227/common/narrow_string.h:178:2: [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. vsnprintf( string, size, format, __VA_ARGS__ ) data/libsmraw-20181227/common/system_string.h:37:25: [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 Unsupported wide system character size data/libsmraw-20181227/common/wide_string.h:151:2: [4] (format) swprintf: Potential format string problem (CWE-134). Make format string constant. swprintf( target, size, __VA_ARGS__ ) data/libsmraw-20181227/common/wide_string.h:166:2: [4] (format) vswprintf: Potential format string problem (CWE-134). Make format string constant. vswprintf( string, size, format, __VA_ARGS__ ) data/libsmraw-20181227/include/libsmraw/types.h:94: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. #error Missing system type definitions (sys/types.h) data/libsmraw-20181227/libcerror/libcerror_error.c:526:17: [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. print_count = fprintf( data/libsmraw-20181227/libcerror/libcerror_error.c:681:18: [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. print_count = fprintf( data/libsmraw-20181227/libcerror/libcerror_system.c:338:32: [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 Missing error to string system function data/libsmraw-20181227/smrawtools/log_handle.c:263:3: [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( data/libsmraw-20181227/libcerror/libcerror_system.c:91:19: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. library_handle = LoadLibrary( data/libsmraw-20181227/libcerror/libcerror_system.c:144:19: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. library_handle = LoadLibrary( data/libsmraw-20181227/libcfile/libcfile_file.c:113:19: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. library_handle = LoadLibrary( data/libsmraw-20181227/libcfile/libcfile_file.c:302:19: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. library_handle = LoadLibrary( data/libsmraw-20181227/libcfile/libcfile_file.c:754:19: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. library_handle = LoadLibrary( data/libsmraw-20181227/libcfile/libcfile_file.c:1453:19: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. library_handle = LoadLibrary( data/libsmraw-20181227/libcfile/libcfile_file.c:1513:19: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. library_handle = LoadLibrary( data/libsmraw-20181227/libcfile/libcfile_file.c:2433:19: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. library_handle = LoadLibrary( data/libsmraw-20181227/libcfile/libcfile_file.c:2724:19: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. library_handle = LoadLibrary( data/libsmraw-20181227/libcfile/libcfile_file.c:3083:19: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. library_handle = LoadLibrary( data/libsmraw-20181227/libcfile/libcfile_file.c:3393:19: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. library_handle = LoadLibrary( data/libsmraw-20181227/libcfile/libcfile_file.c:4092:19: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. library_handle = LoadLibrary( data/libsmraw-20181227/libcfile/libcfile_support.c:127:19: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. library_handle = LoadLibrary( data/libsmraw-20181227/libcfile/libcfile_support.c:323:19: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. library_handle = LoadLibrary( data/libsmraw-20181227/libcfile/libcfile_support.c:636:19: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. library_handle = LoadLibrary( data/libsmraw-20181227/libcfile/libcfile_support.c:817:19: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. library_handle = LoadLibrary( data/libsmraw-20181227/libclocale/libclocale_locale.c:59:19: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. library_handle = LoadLibrary( data/libsmraw-20181227/libclocale/libclocale_locale.c:339:13: [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. locale = getenv( data/libsmraw-20181227/libclocale/libclocale_locale.c:345:13: [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. locale = getenv( data/libsmraw-20181227/libclocale/libclocale_locale.c:351:13: [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. locale = getenv( data/libsmraw-20181227/libcpath/libcpath_path.c:71:19: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. library_handle = LoadLibrary( data/libsmraw-20181227/libcpath/libcpath_path.c:116:19: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. library_handle = LoadLibrary( data/libsmraw-20181227/libcpath/libcpath_path.c:252:19: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. library_handle = LoadLibrary( data/libsmraw-20181227/libcpath/libcpath_path.c:3404:19: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. library_handle = LoadLibrary( data/libsmraw-20181227/libcpath/libcpath_path.c:3550:19: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. library_handle = LoadLibrary( data/libsmraw-20181227/libcpath/libcpath_path.c:3760:19: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. library_handle = LoadLibrary( data/libsmraw-20181227/libcpath/libcpath_path.c:6965:19: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. library_handle = LoadLibrary( data/libsmraw-20181227/libcthreads/libcthreads_condition.c:119:2: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection( data/libsmraw-20181227/libcthreads/libcthreads_condition.c:377:2: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection( data/libsmraw-20181227/libcthreads/libcthreads_condition.c:497:2: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection( data/libsmraw-20181227/libcthreads/libcthreads_condition.c:622:2: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection( data/libsmraw-20181227/libcthreads/libcthreads_condition.c:650:2: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection( data/libsmraw-20181227/libcthreads/libcthreads_lock.c:107:2: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection( data/libsmraw-20181227/libcthreads/libcthreads_lock.c:268:2: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection( data/libsmraw-20181227/libcthreads/libcthreads_mutex.c:114:2: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection( data/libsmraw-20181227/libcthreads/libcthreads_mutex.c:294:2: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection( data/libsmraw-20181227/libcthreads/libcthreads_read_write_lock.c:118:2: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection( data/libsmraw-20181227/libcthreads/libcthreads_read_write_lock.c:121:2: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection( data/libsmraw-20181227/libcthreads/libcthreads_read_write_lock.c:346:2: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection( data/libsmraw-20181227/libcthreads/libcthreads_read_write_lock.c:349:2: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection( data/libsmraw-20181227/libcthreads/libcthreads_read_write_lock.c:472:2: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection( data/libsmraw-20181227/libcthreads/libcthreads_read_write_lock.c:570:2: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection( data/libsmraw-20181227/smrawtools/smrawtools_getopt.h:40:2: [3] (buffer) getopt: 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( argument_count, argument_values, options_string ) data/libsmraw-20181227/tests/smraw_test_getopt.h:40:2: [3] (buffer) getopt: 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( argument_count, argument_values, options_string ) data/libsmraw-20181227/tests/smraw_test_read_loop.c:388:14: [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. read_size = random(); data/libsmraw-20181227/common/file_stream.h:62:2: [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). fopen( filename, mode ) data/libsmraw-20181227/common/memory.h:109:2: [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( (void *) destination, (void *) source, count ) data/libsmraw-20181227/common/narrow_string.h:100:11: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (char *) memcpy( (void *) destination, (void *) source, size ) data/libsmraw-20181227/libbfio/libbfio_handle.c:49: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). int (*open)( data/libsmraw-20181227/libbfio/libbfio_handle.c:172:37: [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). internal_handle->open = open; data/libsmraw-20181227/libbfio/libbfio_handle.c:423:31: [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). internal_source_handle->open, data/libsmraw-20181227/libbfio/libbfio_handle.c:611:24: [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( internal_handle->open( data/libsmraw-20181227/libbfio/libbfio_handle.c:768: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( internal_handle->open( data/libsmraw-20181227/libbfio/libbfio_handle.c:1105: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( internal_handle->open( data/libsmraw-20181227/libbfio/libbfio_handle.h:102:8: [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)( data/libsmraw-20181227/libbfio/libbfio_handle.h:174: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 (*open)( data/libsmraw-20181227/libcfile/libcfile_file.c:673:30: [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). internal_file->descriptor = open( data/libsmraw-20181227/libcfile/libcfile_file.c:727: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). #error Missing file open function data/libsmraw-20181227/libcfile/libcfile_file.c:1173:30: [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). internal_file->descriptor = open( data/libsmraw-20181227/libcfile/libcfile_file.c:1238: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). #error Missing file open wide function data/libsmraw-20181227/libfvalue/libfvalue_value_type.c:51: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. const char *libfvalue_value_type_strings[ 28 ] = { data/libsmraw-20181227/libfvalue/libfvalue_value_type.c:92: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. const char *libfvalue_value_type_descriptions[ 28 ] = { data/libsmraw-20181227/libsmraw/libsmraw_information_file.c:369: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 input_string[ 128 ]; data/libsmraw-20181227/libsmraw/libsmraw_support.c:582: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 *suffixes[ ] = { data/libsmraw-20181227/libsmraw/libsmraw_support.c:1712:2: [2] (buffer) wchar_t: 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. wchar_t *suffixes[ ] = { data/libsmraw-20181227/pysmraw/pysmraw_error.c:69: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 error_string[ PYSMRAW_ERROR_STRING_SIZE ]; data/libsmraw-20181227/pysmraw/pysmraw_error.c:209: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 error_string[ PYSMRAW_ERROR_STRING_SIZE ]; data/libsmraw-20181227/pysmraw/pysmraw_error.c:339: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 error_string[ PYSMRAW_ERROR_STRING_SIZE ]; data/libsmraw-20181227/pysmraw/pysmraw_error.c:340: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 exception_string[ PYSMRAW_ERROR_STRING_SIZE ]; data/libsmraw-20181227/smraw.net/smraw.net_handle.cpp:44: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 smraw_error_string[ SMRAW_NET_ERROR_STRING_SIZE ]; data/libsmraw-20181227/smraw.net/smraw.net_handle.cpp:82: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 smraw_error_string[ SMRAW_NET_ERROR_STRING_SIZE ]; data/libsmraw-20181227/smraw.net/smraw.net_handle.cpp:137: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 smraw_error_string[ SMRAW_NET_ERROR_STRING_SIZE ]; data/libsmraw-20181227/smraw.net/smraw.net_handle.cpp:225: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 smraw_error_string[ SMRAW_NET_ERROR_STRING_SIZE ]; data/libsmraw-20181227/smraw.net/smraw.net_handle.cpp:301: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 smraw_error_string[ SMRAW_NET_ERROR_STRING_SIZE ]; data/libsmraw-20181227/smraw.net/smraw.net_handle.cpp:342: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 smraw_error_string[ SMRAW_NET_ERROR_STRING_SIZE ]; data/libsmraw-20181227/smraw.net/smraw.net_handle.cpp:406: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 smraw_error_string[ SMRAW_NET_ERROR_STRING_SIZE ]; data/libsmraw-20181227/smraw.net/smraw.net_handle.cpp:470: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 smraw_error_string[ SMRAW_NET_ERROR_STRING_SIZE ]; data/libsmraw-20181227/smraw.net/smraw.net_handle.cpp:541: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 smraw_error_string[ SMRAW_NET_ERROR_STRING_SIZE ]; data/libsmraw-20181227/smraw.net/smraw.net_handle.cpp:585: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 smraw_error_string[ SMRAW_NET_ERROR_STRING_SIZE ]; data/libsmraw-20181227/tests/smraw_test_handle.c:427: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 narrow_source[ 256 ]; data/libsmraw-20181227/tests/smraw_test_handle.c:594:2: [2] (buffer) wchar_t: 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. wchar_t wide_source[ 256 ]; data/libsmraw-20181227/tests/smraw_test_information_file.c:280: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 narrow_source[ 256 ]; data/libsmraw-20181227/tests/smraw_test_memory.c:83: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. void *memcpy( data/libsmraw-20181227/common/narrow_string.h:59:2: [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). strlen( string ) data/libsmraw-20181227/common/narrow_string.h:104:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy( destination, source, size ) data/libsmraw-20181227/common/wide_string.h:60:2: [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). wcslen( string ) data/libsmraw-20181227/common/wide_string.h:101:2: [1] (buffer) wcsncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). wcsncpy( destination, source, size ) data/libsmraw-20181227/libbfio/libbfio_handle.c:56:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ssize_t (*read)( data/libsmraw-20181227/libbfio/libbfio_handle.c:174:37: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). internal_handle->read = read; data/libsmraw-20181227/libbfio/libbfio_handle.c:425:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). internal_source_handle->read, data/libsmraw-20181227/libbfio/libbfio_handle.c:1137:32: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read_count = internal_handle->read( data/libsmraw-20181227/libbfio/libbfio_handle.h:115:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ssize_t (*read)( data/libsmraw-20181227/libbfio/libbfio_handle.h:181:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ssize_t (*read)( data/libsmraw-20181227/libcfile/libcfile_file.c:2202:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read_count = read( data/libsmraw-20181227/libcfile/libcfile_file.c:2266:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read_count = read( data/libsmraw-20181227/libcfile/libcfile_file.c:2324:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read_count = read( data/libsmraw-20181227/libcfile/libcfile_file.c:2368:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). #error Missing file read function data/libsmraw-20181227/libcthreads/libcthreads_read_write_lock.h:78:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). #error Missing read/write lock type data/libsmraw-20181227/smraw.net/smraw.net_handle.cpp:152:26: [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). smraw_filename_length = wcslen( ANALYSIS SUMMARY: Hits = 115 Lines analyzed = 239872 in approximately 5.08 seconds (47215 lines/second) Physical Source Lines of Code (SLOC) = 192306 Hits@level = [0] 212 [1] 16 [2] 38 [3] 45 [4] 16 [5] 0 Hits@level+ = [0+] 327 [1+] 115 [2+] 99 [3+] 61 [4+] 16 [5+] 0 Hits/KSLOC@level+ = [0+] 1.70041 [1+] 0.598005 [2+] 0.514805 [3+] 0.317203 [4+] 0.0832007 [5+] 0 Dot directories skipped = 1 (--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.