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/liblnk-20181227/libfwps/libfwps_format_class_identifier.c Examining data/liblnk-20181227/libfwps/libfwps_extern.h Examining data/liblnk-20181227/libfwps/libfwps_codepage.h Examining data/liblnk-20181227/libfwps/libfwps_format_class_identifier.h Examining data/liblnk-20181227/libfwps/libfwps_property_identifier.h Examining data/liblnk-20181227/libfwps/libfwps_libcnotify.h Examining data/liblnk-20181227/libfwps/libfwps_libfguid.h Examining data/liblnk-20181227/libfwps/libfwps_definitions.h Examining data/liblnk-20181227/libfwps/libfwps_libuna.h Examining data/liblnk-20181227/libfwps/libfwps_value.h Examining data/liblnk-20181227/libfwps/libfwps_libfole.h Examining data/liblnk-20181227/libfwps/libfwps_error.c Examining data/liblnk-20181227/libfwps/libfwps_support.c Examining data/liblnk-20181227/libfwps/libfwps_libcerror.h Examining data/liblnk-20181227/libfwps/libfwps_property_identifier.c Examining data/liblnk-20181227/libfwps/libfwps_storage.c Examining data/liblnk-20181227/libfwps/libfwps_value.c Examining data/liblnk-20181227/libfwps/libfwps_types.h Examining data/liblnk-20181227/libfwps/libfwps_unused.h Examining data/liblnk-20181227/libfwps/libfwps_support.h Examining data/liblnk-20181227/libfwps/libfwps_storage.h Examining data/liblnk-20181227/libfwps/libfwps_error.h Examining data/liblnk-20181227/common/config_msc.h Examining data/liblnk-20181227/common/byte_stream.h Examining data/liblnk-20181227/common/common.h Examining data/liblnk-20181227/common/system_string.h Examining data/liblnk-20181227/common/types.h Examining data/liblnk-20181227/common/config_winapi.h Examining data/liblnk-20181227/common/memory.h Examining data/liblnk-20181227/common/config.h Examining data/liblnk-20181227/common/narrow_string.h Examining data/liblnk-20181227/common/file_stream.h Examining data/liblnk-20181227/common/config_borlandc.h Examining data/liblnk-20181227/common/wide_string.h Examining data/liblnk-20181227/libfole/libfole_definitions.h Examining data/liblnk-20181227/libfole/libfole_support.h Examining data/liblnk-20181227/libfole/libfole_extern.h Examining data/liblnk-20181227/libfole/libfole_error.c Examining data/liblnk-20181227/libfole/libfole_libcerror.h Examining data/liblnk-20181227/libfole/libfole_value_type.h Examining data/liblnk-20181227/libfole/libfole_unused.h Examining data/liblnk-20181227/libfole/libfole_value_type.c Examining data/liblnk-20181227/libfole/libfole_error.h Examining data/liblnk-20181227/libfole/libfole_support.c Examining data/liblnk-20181227/libfole/libfole_types.h Examining data/liblnk-20181227/pylnk/pylnk_integer.h Examining data/liblnk-20181227/pylnk/pylnk_drive_types.c Examining data/liblnk-20181227/pylnk/pylnk_data_flags.h Examining data/liblnk-20181227/pylnk/pylnk_file.h Examining data/liblnk-20181227/pylnk/pylnk_error.h Examining data/liblnk-20181227/pylnk/pylnk_libclocale.h Examining data/liblnk-20181227/pylnk/pylnk_datetime.h Examining data/liblnk-20181227/pylnk/pylnk_unused.h Examining data/liblnk-20181227/pylnk/pylnk_error.c Examining data/liblnk-20181227/pylnk/pylnk_file_attribute_flags.c Examining data/liblnk-20181227/pylnk/pylnk_drive_types.h Examining data/liblnk-20181227/pylnk/pylnk_file.c Examining data/liblnk-20181227/pylnk/pylnk_libbfio.h Examining data/liblnk-20181227/pylnk/pylnk.h Examining data/liblnk-20181227/pylnk/pylnk_datetime.c Examining data/liblnk-20181227/pylnk/pylnk_python.h Examining data/liblnk-20181227/pylnk/pylnk_codepage.h Examining data/liblnk-20181227/pylnk/pylnk_libfguid.h Examining data/liblnk-20181227/pylnk/pylnk_liblnk.h Examining data/liblnk-20181227/pylnk/pylnk_data_flags.c Examining data/liblnk-20181227/pylnk/pylnk_file_object_io_handle.c Examining data/liblnk-20181227/pylnk/pylnk_file_attribute_flags.h Examining data/liblnk-20181227/pylnk/pylnk_guid.h Examining data/liblnk-20181227/pylnk/pylnk_integer.c Examining data/liblnk-20181227/pylnk/pylnk_libcerror.h Examining data/liblnk-20181227/pylnk/pylnk.c Examining data/liblnk-20181227/pylnk/pylnk_file_object_io_handle.h Examining data/liblnk-20181227/pylnk/pylnk_codepage.c Examining data/liblnk-20181227/pylnk/pylnk_guid.c Examining data/liblnk-20181227/libfguid/libfguid_identifier.c Examining data/liblnk-20181227/libfguid/libfguid_support.c Examining data/liblnk-20181227/libfguid/libfguid_support.h Examining data/liblnk-20181227/libfguid/libfguid_definitions.h Examining data/liblnk-20181227/libfguid/libfguid_identifier.h Examining data/liblnk-20181227/libfguid/libfguid_unused.h Examining data/liblnk-20181227/libfguid/libfguid_error.h Examining data/liblnk-20181227/libfguid/libfguid_libcerror.h Examining data/liblnk-20181227/libfguid/libfguid_error.c Examining data/liblnk-20181227/libfguid/libfguid_types.h Examining data/liblnk-20181227/libfguid/libfguid_extern.h Examining data/liblnk-20181227/tests/lnk_test_distributed_link_tracker_properties.c Examining data/liblnk-20181227/tests/lnk_test_file.c Examining data/liblnk-20181227/tests/lnk_test_liblnk.h Examining data/liblnk-20181227/tests/lnk_test_libcerror.h Examining data/liblnk-20181227/tests/lnk_test_data_block.c Examining data/liblnk-20181227/tests/lnk_test_unused.h Examining data/liblnk-20181227/tests/lnk_test_file_header.c Examining data/liblnk-20181227/tests/lnk_test_io_handle.c Examining data/liblnk-20181227/tests/lnk_test_memory.c Examining data/liblnk-20181227/tests/lnk_test_libuna.h Examining data/liblnk-20181227/tests/lnk_test_functions.c Examining data/liblnk-20181227/tests/lnk_test_getopt.c Examining data/liblnk-20181227/tests/lnk_test_support.c Examining data/liblnk-20181227/tests/lnk_test_data_string.c Examining data/liblnk-20181227/tests/lnk_test_special_folder_location.c Examining data/liblnk-20181227/tests/lnk_test_macros.h Examining data/liblnk-20181227/tests/lnk_test_libbfio.h Examining data/liblnk-20181227/tests/lnk_test_getopt.h Examining data/liblnk-20181227/tests/lnk_test_memory.h Examining data/liblnk-20181227/tests/lnk_test_known_folder_location.c Examining data/liblnk-20181227/tests/lnk_test_link_target_identifier.c Examining data/liblnk-20181227/tests/lnk_test_error.c Examining data/liblnk-20181227/tests/lnk_test_functions.h Examining data/liblnk-20181227/tests/lnk_test_location_information.c Examining data/liblnk-20181227/tests/lnk_test_notify.c Examining data/liblnk-20181227/tests/lnk_test_libcnotify.h Examining data/liblnk-20181227/tests/lnk_test_libclocale.h Examining data/liblnk-20181227/libclocale/libclocale_wide_string.h Examining data/liblnk-20181227/libclocale/libclocale_support.c Examining data/liblnk-20181227/libclocale/libclocale_locale.h Examining data/liblnk-20181227/libclocale/libclocale_locale.c Examining data/liblnk-20181227/libclocale/libclocale_extern.h Examining data/liblnk-20181227/libclocale/libclocale_unused.h Examining data/liblnk-20181227/libclocale/libclocale_support.h Examining data/liblnk-20181227/libclocale/libclocale_definitions.h Examining data/liblnk-20181227/libclocale/libclocale_codepage.h Examining data/liblnk-20181227/libclocale/libclocale_codepage.c Examining data/liblnk-20181227/libclocale/libclocale_wide_string.c Examining data/liblnk-20181227/libclocale/libclocale_libcerror.h Examining data/liblnk-20181227/libbfio/libbfio_handle.h Examining data/liblnk-20181227/libbfio/libbfio_libcerror.h Examining data/liblnk-20181227/libbfio/libbfio_handle.c Examining data/liblnk-20181227/libbfio/libbfio_libuna.h Examining data/liblnk-20181227/libbfio/libbfio_definitions.h Examining data/liblnk-20181227/libbfio/libbfio_libclocale.h Examining data/liblnk-20181227/libbfio/libbfio_codepage.h Examining data/liblnk-20181227/libbfio/libbfio_libcdata.h Examining data/liblnk-20181227/libbfio/libbfio_extern.h Examining data/liblnk-20181227/libbfio/libbfio_file_range.c Examining data/liblnk-20181227/libbfio/libbfio_file_range_io_handle.c Examining data/liblnk-20181227/libbfio/libbfio_file_pool.c Examining data/liblnk-20181227/libbfio/libbfio_file.c Examining data/liblnk-20181227/libbfio/libbfio_pool.h Examining data/liblnk-20181227/libbfio/libbfio_file_range.h Examining data/liblnk-20181227/libbfio/libbfio_system_string.h Examining data/liblnk-20181227/libbfio/libbfio_file_io_handle.h Examining data/liblnk-20181227/libbfio/libbfio_memory_range_io_handle.c Examining data/liblnk-20181227/libbfio/libbfio_file.h Examining data/liblnk-20181227/libbfio/libbfio_support.c Examining data/liblnk-20181227/libbfio/libbfio_file_pool.h Examining data/liblnk-20181227/libbfio/libbfio_memory_range_io_handle.h Examining data/liblnk-20181227/libbfio/libbfio_error.h Examining data/liblnk-20181227/libbfio/libbfio_libcthreads.h Examining data/liblnk-20181227/libbfio/libbfio_system_string.c Examining data/liblnk-20181227/libbfio/libbfio_memory_range.h Examining data/liblnk-20181227/libbfio/libbfio_file_range_io_handle.h Examining data/liblnk-20181227/libbfio/libbfio_memory_range.c Examining data/liblnk-20181227/libbfio/libbfio_pool.c Examining data/liblnk-20181227/libbfio/libbfio_unused.h Examining data/liblnk-20181227/libbfio/libbfio_libcpath.h Examining data/liblnk-20181227/libbfio/libbfio_libcfile.h Examining data/liblnk-20181227/libbfio/libbfio_support.h Examining data/liblnk-20181227/libbfio/libbfio_file_io_handle.c Examining data/liblnk-20181227/libbfio/libbfio_error.c Examining data/liblnk-20181227/libbfio/libbfio_types.h Examining data/liblnk-20181227/include/liblnk/extern.h Examining data/liblnk-20181227/include/liblnk/types.h Examining data/liblnk-20181227/include/liblnk/features.h Examining data/liblnk-20181227/include/liblnk/definitions.h Examining data/liblnk-20181227/include/liblnk/codepage.h Examining data/liblnk-20181227/include/liblnk/error.h Examining data/liblnk-20181227/include/liblnk.h Examining data/liblnk-20181227/libfdatetime/libfdatetime_support.c Examining data/liblnk-20181227/libfdatetime/libfdatetime_systemtime.h Examining data/liblnk-20181227/libfdatetime/libfdatetime_error.h Examining data/liblnk-20181227/libfdatetime/libfdatetime_unused.h Examining data/liblnk-20181227/libfdatetime/libfdatetime_error.c Examining data/liblnk-20181227/libfdatetime/libfdatetime_posix_time.c Examining data/liblnk-20181227/libfdatetime/libfdatetime_fat_date_time.h Examining data/liblnk-20181227/libfdatetime/libfdatetime_types.h Examining data/liblnk-20181227/libfdatetime/libfdatetime_floatingtime.c Examining data/liblnk-20181227/libfdatetime/libfdatetime_hfs_time.h Examining data/liblnk-20181227/libfdatetime/libfdatetime_support.h Examining data/liblnk-20181227/libfdatetime/libfdatetime_extern.h Examining data/liblnk-20181227/libfdatetime/libfdatetime_filetime.h Examining data/liblnk-20181227/libfdatetime/libfdatetime_date_time_values.c Examining data/liblnk-20181227/libfdatetime/libfdatetime_floatingtime.h Examining data/liblnk-20181227/libfdatetime/libfdatetime_libcerror.h Examining data/liblnk-20181227/libfdatetime/libfdatetime_nsf_timedate.c Examining data/liblnk-20181227/libfdatetime/libfdatetime_date_time_values.h Examining data/liblnk-20181227/libfdatetime/libfdatetime_hfs_time.c Examining data/liblnk-20181227/libfdatetime/libfdatetime_posix_time.h Examining data/liblnk-20181227/libfdatetime/libfdatetime_fat_date_time.c Examining data/liblnk-20181227/libfdatetime/libfdatetime_nsf_timedate.h Examining data/liblnk-20181227/libfdatetime/libfdatetime_definitions.h Examining data/liblnk-20181227/libfdatetime/libfdatetime_systemtime.c Examining data/liblnk-20181227/libfdatetime/libfdatetime_filetime.c Examining data/liblnk-20181227/libcfile/libcfile_file.c Examining data/liblnk-20181227/libcfile/libcfile_libclocale.h Examining data/liblnk-20181227/libcfile/libcfile_support.c Examining data/liblnk-20181227/libcfile/libcfile_support.h Examining data/liblnk-20181227/libcfile/libcfile_error.c Examining data/liblnk-20181227/libcfile/libcfile_libcerror.h Examining data/liblnk-20181227/libcfile/libcfile_unused.h Examining data/liblnk-20181227/libcfile/libcfile_types.h Examining data/liblnk-20181227/libcfile/libcfile_extern.h Examining data/liblnk-20181227/libcfile/libcfile_notify.h Examining data/liblnk-20181227/libcfile/libcfile_definitions.h Examining data/liblnk-20181227/libcfile/libcfile_file.h Examining data/liblnk-20181227/libcfile/libcfile_error.h Examining data/liblnk-20181227/libcfile/libcfile_system_string.c Examining data/liblnk-20181227/libcfile/libcfile_system_string.h Examining data/liblnk-20181227/libcfile/libcfile_libcnotify.h Examining data/liblnk-20181227/libcfile/libcfile_libuna.h Examining data/liblnk-20181227/libcfile/libcfile_notify.c Examining data/liblnk-20181227/libcthreads/libcthreads_thread_pool.h Examining data/liblnk-20181227/libcthreads/libcthreads_thread_pool.c Examining data/liblnk-20181227/libcthreads/libcthreads_repeating_thread.c Examining data/liblnk-20181227/libcthreads/libcthreads_error.c Examining data/liblnk-20181227/libcthreads/libcthreads_unused.h Examining data/liblnk-20181227/libcthreads/libcthreads_condition.h Examining data/liblnk-20181227/libcthreads/libcthreads_definitions.h Examining data/liblnk-20181227/libcthreads/libcthreads_thread.h Examining data/liblnk-20181227/libcthreads/libcthreads_repeating_thread.h Examining data/liblnk-20181227/libcthreads/libcthreads_read_write_lock.c Examining data/liblnk-20181227/libcthreads/libcthreads_mutex.h Examining data/liblnk-20181227/libcthreads/libcthreads_support.h Examining data/liblnk-20181227/libcthreads/libcthreads_thread.c Examining data/liblnk-20181227/libcthreads/libcthreads_mutex.c Examining data/liblnk-20181227/libcthreads/libcthreads_types.h Examining data/liblnk-20181227/libcthreads/libcthreads_lock.h Examining data/liblnk-20181227/libcthreads/libcthreads_extern.h Examining data/liblnk-20181227/libcthreads/libcthreads_error.h Examining data/liblnk-20181227/libcthreads/libcthreads_queue.c Examining data/liblnk-20181227/libcthreads/libcthreads_condition.c Examining data/liblnk-20181227/libcthreads/libcthreads_thread_attributes.c Examining data/liblnk-20181227/libcthreads/libcthreads_libcerror.h Examining data/liblnk-20181227/libcthreads/libcthreads_lock.c Examining data/liblnk-20181227/libcthreads/libcthreads_support.c Examining data/liblnk-20181227/libcthreads/libcthreads_read_write_lock.h Examining data/liblnk-20181227/libcthreads/libcthreads_thread_attributes.h Examining data/liblnk-20181227/libcthreads/libcthreads_queue.h Examining data/liblnk-20181227/lnktools/info_handle.c Examining data/liblnk-20181227/lnktools/lnktools_liblnk.h Examining data/liblnk-20181227/lnktools/lnktools_libfdatetime.h Examining data/liblnk-20181227/lnktools/shell_items.h Examining data/liblnk-20181227/lnktools/lnktools_libbfio.h Examining data/liblnk-20181227/lnktools/lnktools_getopt.c Examining data/liblnk-20181227/lnktools/lnktools_unused.h Examining data/liblnk-20181227/lnktools/lnktools_libcnotify.h Examining data/liblnk-20181227/lnktools/lnktools_libfwsi.h Examining data/liblnk-20181227/lnktools/lnktools_libclocale.h Examining data/liblnk-20181227/lnktools/shell_items.c Examining data/liblnk-20181227/lnktools/lnktools_output.h Examining data/liblnk-20181227/lnktools/lnktools_i18n.h Examining data/liblnk-20181227/lnktools/info_handle.h Examining data/liblnk-20181227/lnktools/lnktools_output.c Examining data/liblnk-20181227/lnktools/lnktools_signal.h Examining data/liblnk-20181227/lnktools/lnktools_libfguid.h Examining data/liblnk-20181227/lnktools/lnkinfo.c Examining data/liblnk-20181227/lnktools/lnktools_signal.c Examining data/liblnk-20181227/lnktools/lnktools_libuna.h Examining data/liblnk-20181227/lnktools/lnktools_libcerror.h Examining data/liblnk-20181227/lnktools/lnktools_getopt.h Examining data/liblnk-20181227/libcpath/libcpath_unused.h Examining data/liblnk-20181227/libcpath/libcpath_support.c Examining data/liblnk-20181227/libcpath/libcpath_libclocale.h Examining data/liblnk-20181227/libcpath/libcpath_error.h Examining data/liblnk-20181227/libcpath/libcpath_system_string.h Examining data/liblnk-20181227/libcpath/libcpath_error.c Examining data/liblnk-20181227/libcpath/libcpath_libcsplit.h Examining data/liblnk-20181227/libcpath/libcpath_path.h Examining data/liblnk-20181227/libcpath/libcpath_definitions.h Examining data/liblnk-20181227/libcpath/libcpath_libcerror.h Examining data/liblnk-20181227/libcpath/libcpath_extern.h Examining data/liblnk-20181227/libcpath/libcpath_path.c Examining data/liblnk-20181227/libcpath/libcpath_system_string.c Examining data/liblnk-20181227/libcpath/libcpath_support.h Examining data/liblnk-20181227/libcpath/libcpath_libuna.h Examining data/liblnk-20181227/liblnk/liblnk_extern.h Examining data/liblnk-20181227/liblnk/liblnk_data_block_strings.h Examining data/liblnk-20181227/liblnk/liblnk_data_block.c Examining data/liblnk-20181227/liblnk/liblnk_libuna.h Examining data/liblnk-20181227/liblnk/liblnk_types.h Examining data/liblnk-20181227/liblnk/liblnk_special_folder_location.h Examining data/liblnk-20181227/liblnk/liblnk_data_string.h Examining data/liblnk-20181227/liblnk/liblnk_distributed_link_tracker_properties.h Examining data/liblnk-20181227/liblnk/liblnk_libcerror.h Examining data/liblnk-20181227/liblnk/liblnk_file_header.c Examining data/liblnk-20181227/liblnk/liblnk_location_information.c Examining data/liblnk-20181227/liblnk/liblnk_support.c Examining data/liblnk-20181227/liblnk/liblnk_unused.h Examining data/liblnk-20181227/liblnk/liblnk_libbfio.h Examining data/liblnk-20181227/liblnk/liblnk_known_folder_location.h Examining data/liblnk-20181227/liblnk/liblnk_data_string.c Examining data/liblnk-20181227/liblnk/liblnk_data_block.h Examining data/liblnk-20181227/liblnk/liblnk_libfwsi.h Examining data/liblnk-20181227/liblnk/liblnk_link_target_identifier.c Examining data/liblnk-20181227/liblnk/liblnk_debug.h Examining data/liblnk-20181227/liblnk/liblnk_location_information.h Examining data/liblnk-20181227/liblnk/lnk_network_share_information.h Examining data/liblnk-20181227/liblnk/liblnk_io_handle.c Examining data/liblnk-20181227/liblnk/liblnk_distributed_link_tracker_properties.c Examining data/liblnk-20181227/liblnk/liblnk_libfwps.h Examining data/liblnk-20181227/liblnk/liblnk_libfdatetime.h Examining data/liblnk-20181227/liblnk/liblnk_libcnotify.h Examining data/liblnk-20181227/liblnk/liblnk_file.c Examining data/liblnk-20181227/liblnk/liblnk_libfguid.h Examining data/liblnk-20181227/liblnk/liblnk_io_handle.h Examining data/liblnk-20181227/liblnk/lnk_volume_information.h Examining data/liblnk-20181227/liblnk/liblnk_file.h Examining data/liblnk-20181227/liblnk/liblnk_codepage.h Examining data/liblnk-20181227/liblnk/liblnk_file_header.h Examining data/liblnk-20181227/liblnk/liblnk_known_folder_location.c Examining data/liblnk-20181227/liblnk/liblnk_link_target_identifier.h Examining data/liblnk-20181227/liblnk/liblnk_data_block_strings.c Examining data/liblnk-20181227/liblnk/liblnk.c Examining data/liblnk-20181227/liblnk/liblnk_error.c Examining data/liblnk-20181227/liblnk/lnk_location_information.h Examining data/liblnk-20181227/liblnk/liblnk_notify.h Examining data/liblnk-20181227/liblnk/liblnk_support.h Examining data/liblnk-20181227/liblnk/liblnk_notify.c Examining data/liblnk-20181227/liblnk/lnk_file_header.h Examining data/liblnk-20181227/liblnk/liblnk_libclocale.h Examining data/liblnk-20181227/liblnk/liblnk_special_folder_location.c Examining data/liblnk-20181227/liblnk/liblnk_debug.c Examining data/liblnk-20181227/liblnk/liblnk_error.h Examining data/liblnk-20181227/liblnk/liblnk_definitions.h Examining data/liblnk-20181227/liblnk/lnk_data_blocks.h Examining data/liblnk-20181227/libuna/libuna_url_stream.c Examining data/liblnk-20181227/libuna/libuna_support.c Examining data/liblnk-20181227/libuna/libuna_codepage_iso_8859_5.c Examining data/liblnk-20181227/libuna/libuna_codepage_iso_8859_2.c Examining data/liblnk-20181227/libuna/libuna_codepage_windows_1253.c Examining data/liblnk-20181227/libuna/libuna_codepage_koi8_u.h Examining data/liblnk-20181227/libuna/libuna_codepage_windows_1252.c Examining data/liblnk-20181227/libuna/libuna_utf32_stream.c Examining data/liblnk-20181227/libuna/libuna_codepage_windows_1257.h Examining data/liblnk-20181227/libuna/libuna_utf32_string.c Examining data/liblnk-20181227/libuna/libuna_codepage_windows_874.c Examining data/liblnk-20181227/libuna/libuna_codepage_windows_1251.h Examining data/liblnk-20181227/libuna/libuna_libcerror.h Examining data/liblnk-20181227/libuna/libuna_codepage_windows_949.c Examining data/liblnk-20181227/libuna/libuna_codepage_iso_8859_6.h Examining data/liblnk-20181227/libuna/libuna_codepage_windows_1256.h Examining data/liblnk-20181227/libuna/libuna_codepage_iso_8859_6.c Examining data/liblnk-20181227/libuna/libuna_codepage_windows_874.h Examining data/liblnk-20181227/libuna/libuna_codepage_windows_1251.c Examining data/liblnk-20181227/libuna/libuna_codepage_windows_1256.c Examining data/liblnk-20181227/libuna/libuna_base16_stream.h Examining data/liblnk-20181227/libuna/libuna_codepage_iso_8859_2.h Examining data/liblnk-20181227/libuna/libuna_codepage_windows_1257.c Examining data/liblnk-20181227/libuna/libuna_codepage_windows_1254.h Examining data/liblnk-20181227/libuna/libuna_codepage_windows_1255.c Examining data/liblnk-20181227/libuna/libuna_unused.h Examining data/liblnk-20181227/libuna/libuna_codepage_windows_1253.h Examining data/liblnk-20181227/libuna/libuna_unicode_character.h Examining data/liblnk-20181227/libuna/libuna_byte_stream.c Examining data/liblnk-20181227/libuna/libuna_codepage_iso_8859_3.h Examining data/liblnk-20181227/libuna/libuna_codepage_iso_8859_15.h Examining data/liblnk-20181227/libuna/libuna_utf32_string.h Examining data/liblnk-20181227/libuna/libuna_codepage_koi8_r.c Examining data/liblnk-20181227/libuna/libuna_codepage_windows_936.h Examining data/liblnk-20181227/libuna/libuna_base64_stream.h Examining data/liblnk-20181227/libuna/libuna_codepage_windows_950.c Examining data/liblnk-20181227/libuna/libuna_utf8_string.h Examining data/liblnk-20181227/libuna/libuna_codepage_windows_936.c Examining data/liblnk-20181227/libuna/libuna_unicode_character.c Examining data/liblnk-20181227/libuna/libuna_utf8_string.c Examining data/liblnk-20181227/libuna/libuna_base32_stream.c Examining data/liblnk-20181227/libuna/libuna_codepage_windows_950.h Examining data/liblnk-20181227/libuna/libuna_error.h Examining data/liblnk-20181227/libuna/libuna_codepage_windows_932.h Examining data/liblnk-20181227/libuna/libuna_utf8_stream.c Examining data/liblnk-20181227/libuna/libuna_codepage_koi8_r.h Examining data/liblnk-20181227/libuna/libuna_base16_stream.c Examining data/liblnk-20181227/libuna/libuna_codepage_windows_1250.h Examining data/liblnk-20181227/libuna/libuna_codepage_iso_8859_16.h Examining data/liblnk-20181227/libuna/libuna_utf16_stream.h Examining data/liblnk-20181227/libuna/libuna_codepage_iso_8859_10.h Examining data/liblnk-20181227/libuna/libuna_codepage_windows_932.c Examining data/liblnk-20181227/libuna/libuna_utf8_stream.h Examining data/liblnk-20181227/libuna/libuna_url_stream.h Examining data/liblnk-20181227/libuna/libuna_codepage_windows_949.h Examining data/liblnk-20181227/libuna/libuna_codepage_iso_8859_8.c Examining data/liblnk-20181227/libuna/libuna_types.h Examining data/liblnk-20181227/libuna/libuna_codepage_windows_1252.h Examining data/liblnk-20181227/libuna/libuna_codepage_windows_1250.c Examining data/liblnk-20181227/libuna/libuna_utf16_string.c Examining data/liblnk-20181227/libuna/libuna_codepage_iso_8859_5.h Examining data/liblnk-20181227/libuna/libuna_extern.h Examining data/liblnk-20181227/libuna/libuna_codepage_iso_8859_4.h Examining data/liblnk-20181227/libuna/libuna_byte_stream.h Examining data/liblnk-20181227/libuna/libuna_utf16_string.h Examining data/liblnk-20181227/libuna/libuna_codepage_iso_8859_4.c Examining data/liblnk-20181227/libuna/libuna_codepage_iso_8859_10.c Examining data/liblnk-20181227/libuna/libuna_utf7_stream.h Examining data/liblnk-20181227/libuna/libuna_base32_stream.h Examining data/liblnk-20181227/libuna/libuna_utf16_stream.c Examining data/liblnk-20181227/libuna/libuna_utf7_stream.c Examining data/liblnk-20181227/libuna/libuna_support.h Examining data/liblnk-20181227/libuna/libuna_utf32_stream.h Examining data/liblnk-20181227/libuna/libuna_codepage_iso_8859_3.c Examining data/liblnk-20181227/libuna/libuna_definitions.h Examining data/liblnk-20181227/libuna/libuna_codepage_windows_1255.h Examining data/liblnk-20181227/libuna/libuna_codepage_iso_8859_14.c Examining data/liblnk-20181227/libuna/libuna_codepage_iso_8859_13.c Examining data/liblnk-20181227/libuna/libuna_codepage_iso_8859_8.h Examining data/liblnk-20181227/libuna/libuna_codepage_iso_8859_9.c Examining data/liblnk-20181227/libuna/libuna_codepage_windows_1254.c Examining data/liblnk-20181227/libuna/libuna_codepage_windows_1258.c Examining data/liblnk-20181227/libuna/libuna_codepage_iso_8859_15.c Examining data/liblnk-20181227/libuna/libuna_codepage_iso_8859_7.c Examining data/liblnk-20181227/libuna/libuna_codepage_iso_8859_9.h Examining data/liblnk-20181227/libuna/libuna_codepage_windows_1258.h Examining data/liblnk-20181227/libuna/libuna_base64_stream.c Examining data/liblnk-20181227/libuna/libuna_error.c Examining data/liblnk-20181227/libuna/libuna_codepage_koi8_u.c Examining data/liblnk-20181227/libuna/libuna_codepage_iso_8859_13.h Examining data/liblnk-20181227/libuna/libuna_codepage_iso_8859_7.h Examining data/liblnk-20181227/libuna/libuna_codepage_iso_8859_14.h Examining data/liblnk-20181227/libuna/libuna_codepage_iso_8859_16.c Examining data/liblnk-20181227/libfwsi/libfwsi_libfwps.h Examining data/liblnk-20181227/libfwsi/libfwsi_file_entry_extension_values.c Examining data/liblnk-20181227/libfwsi/libfwsi_extension_block_0xbeef0014_values.c Examining data/liblnk-20181227/libfwsi/libfwsi_file_entry_extension_values.h Examining data/liblnk-20181227/libfwsi/libfwsi_support.c Examining data/liblnk-20181227/libfwsi/libfwsi_extension_block_0xbeef0013_values.h Examining data/liblnk-20181227/libfwsi/libfwsi_libcdata.h Examining data/liblnk-20181227/libfwsi/libfwsi_libcerror.h Examining data/liblnk-20181227/libfwsi/libfwsi_control_panel_values.h Examining data/liblnk-20181227/libfwsi/libfwsi_extension_block_0xbeef0025_values.c Examining data/liblnk-20181227/libfwsi/libfwsi_extension_block_0xbeef0001_values.h Examining data/liblnk-20181227/libfwsi/libfwsi_root_folder.h Examining data/liblnk-20181227/libfwsi/libfwsi_delegate_values.h Examining data/liblnk-20181227/libfwsi/libfwsi_libfole.h Examining data/liblnk-20181227/libfwsi/libfwsi_root_folder_values.h Examining data/liblnk-20181227/libfwsi/libfwsi_mtp_volume_values.h Examining data/liblnk-20181227/libfwsi/libfwsi_extension_block_0xbeef0006_values.c Examining data/liblnk-20181227/libfwsi/libfwsi_libfdatetime.h Examining data/liblnk-20181227/libfwsi/libfwsi_users_property_view_values.h Examining data/liblnk-20181227/libfwsi/libfwsi_file_entry_values.c Examining data/liblnk-20181227/libfwsi/libfwsi_libuna.h Examining data/liblnk-20181227/libfwsi/libfwsi_volume_values.c Examining data/liblnk-20181227/libfwsi/libfwsi_volume_values.h Examining data/liblnk-20181227/libfwsi/libfwsi_file_attributes.c Examining data/liblnk-20181227/libfwsi/libfwsi_shell_folder_identifier.h Examining data/liblnk-20181227/libfwsi/libfwsi_types.h Examining data/liblnk-20181227/libfwsi/libfwsi_control_panel_identifier.c Examining data/liblnk-20181227/libfwsi/libfwsi_codepage.h Examining data/liblnk-20181227/libfwsi/libfwsi_extension_block_0xbeef000a_values.h Examining data/liblnk-20181227/libfwsi/libfwsi_extension_block_0xbeef0003_values.c Examining data/liblnk-20181227/libfwsi/libfwsi_delegate_values.c Examining data/liblnk-20181227/libfwsi/libfwsi_file_entry_extension.h Examining data/liblnk-20181227/libfwsi/libfwsi_network_location_values.h Examining data/liblnk-20181227/libfwsi/libfwsi_item_list.h Examining data/liblnk-20181227/libfwsi/libfwsi_compressed_folder_values.c Examining data/liblnk-20181227/libfwsi/libfwsi_extension_block_0xbeef0000_values.h Examining data/liblnk-20181227/libfwsi/libfwsi_notify.h Examining data/liblnk-20181227/libfwsi/libfwsi_extension_block_0xbeef0014_values.h Examining data/liblnk-20181227/libfwsi/libfwsi_extension_block_0xbeef0013_values.c Examining data/liblnk-20181227/libfwsi/libfwsi_game_folder_values.c Examining data/liblnk-20181227/libfwsi/libfwsi_extension_block_0xbeef0019_values.h Examining data/liblnk-20181227/libfwsi/libfwsi_file_entry.c Examining data/liblnk-20181227/libfwsi/libfwsi_cdburn_values.h Examining data/liblnk-20181227/libfwsi/libfwsi_unknown_0x74_values.c Examining data/liblnk-20181227/libfwsi/libfwsi_uri_sub_values.h Examining data/liblnk-20181227/libfwsi/libfwsi_debug.c Examining data/liblnk-20181227/libfwsi/libfwsi_shell_folder_identifier.c Examining data/liblnk-20181227/libfwsi/libfwsi_file_attributes.h Examining data/liblnk-20181227/libfwsi/libfwsi_volume.c Examining data/liblnk-20181227/libfwsi/libfwsi_notify.c Examining data/liblnk-20181227/libfwsi/libfwsi_extension_block_0xbeef0025_values.h Examining data/liblnk-20181227/libfwsi/libfwsi_uri_values.h Examining data/liblnk-20181227/libfwsi/libfwsi_known_folder_identifier.c Examining data/liblnk-20181227/libfwsi/libfwsi_unknown_0x74_values.h Examining data/liblnk-20181227/libfwsi/libfwsi_extension_block_0xbeef0005_values.c Examining data/liblnk-20181227/libfwsi/libfwsi_network_location.h Examining data/liblnk-20181227/libfwsi/libfwsi_mtp_volume_values.c Examining data/liblnk-20181227/libfwsi/libfwsi_game_folder_values.h Examining data/liblnk-20181227/libfwsi/libfwsi_support.h Examining data/liblnk-20181227/libfwsi/libfwsi_mtp_file_entry_values.c Examining data/liblnk-20181227/libfwsi/libfwsi_unused.h Examining data/liblnk-20181227/libfwsi/libfwsi_root_folder_values.c Examining data/liblnk-20181227/libfwsi/libfwsi_uri_values.c Examining data/liblnk-20181227/libfwsi/libfwsi_users_property_view_values.c Examining data/liblnk-20181227/libfwsi/libfwsi_item.h Examining data/liblnk-20181227/libfwsi/libfwsi_compressed_folder_values.h Examining data/liblnk-20181227/libfwsi/libfwsi_libfguid.h Examining data/liblnk-20181227/libfwsi/libfwsi_file_entry.h Examining data/liblnk-20181227/libfwsi/libfwsi_volume.h Examining data/liblnk-20181227/libfwsi/libfwsi_control_panel_identifier.h Examining data/liblnk-20181227/libfwsi/libfwsi_extension_block_0xbeef000a_values.c Examining data/liblnk-20181227/libfwsi/libfwsi_root_folder.c Examining data/liblnk-20181227/libfwsi/libfwsi_control_panel_category_values.c Examining data/liblnk-20181227/libfwsi/libfwsi_debug.h Examining data/liblnk-20181227/libfwsi/libfwsi_extension_block_0xbeef0000_values.c Examining data/liblnk-20181227/libfwsi/libfwsi_extension_block_0xbeef0001_values.c Examining data/liblnk-20181227/libfwsi/libfwsi_control_panel_values.c Examining data/liblnk-20181227/libfwsi/libfwsi_network_location_values.c Examining data/liblnk-20181227/libfwsi/libfwsi_extension_block_0xbeef0003_values.h Examining data/liblnk-20181227/libfwsi/libfwsi_cdburn_values.c Examining data/liblnk-20181227/libfwsi/libfwsi_extension_block.c Examining data/liblnk-20181227/libfwsi/libfwsi_error.c Examining data/liblnk-20181227/libfwsi/libfwsi_error.h Examining data/liblnk-20181227/libfwsi/libfwsi_extension_block_0xbeef0005_values.h Examining data/liblnk-20181227/libfwsi/libfwsi_uri_sub_values.c Examining data/liblnk-20181227/libfwsi/libfwsi_control_panel_cpl_file_values.c Examining data/liblnk-20181227/libfwsi/libfwsi_extension_block.h Examining data/liblnk-20181227/libfwsi/libfwsi_extern.h Examining data/liblnk-20181227/libfwsi/libfwsi_known_folder_identifier.h Examining data/liblnk-20181227/libfwsi/libfwsi_control_panel_category_values.h Examining data/liblnk-20181227/libfwsi/libfwsi_control_panel_cpl_file_values.h Examining data/liblnk-20181227/libfwsi/libfwsi_item_list.c Examining data/liblnk-20181227/libfwsi/libfwsi_definitions.h Examining data/liblnk-20181227/libfwsi/libfwsi_libcnotify.h Examining data/liblnk-20181227/libfwsi/libfwsi_file_entry_extension.c Examining data/liblnk-20181227/libfwsi/libfwsi_extension_block_0xbeef0019_values.c Examining data/liblnk-20181227/libfwsi/libfwsi_extension_block_0xbeef0006_values.h Examining data/liblnk-20181227/libfwsi/libfwsi_network_location.c Examining data/liblnk-20181227/libfwsi/libfwsi_file_entry_values.h Examining data/liblnk-20181227/libfwsi/libfwsi_mtp_file_entry_values.h Examining data/liblnk-20181227/libfwsi/libfwsi_item.c Examining data/liblnk-20181227/libcerror/libcerror_system.c Examining data/liblnk-20181227/libcerror/libcerror_error.c Examining data/liblnk-20181227/libcerror/libcerror_extern.h Examining data/liblnk-20181227/libcerror/libcerror_error.h Examining data/liblnk-20181227/libcerror/libcerror_support.h Examining data/liblnk-20181227/libcerror/libcerror_types.h Examining data/liblnk-20181227/libcerror/libcerror_definitions.h Examining data/liblnk-20181227/libcerror/libcerror_unused.h Examining data/liblnk-20181227/libcerror/libcerror_support.c Examining data/liblnk-20181227/libcerror/libcerror_system.h Examining data/liblnk-20181227/libcnotify/libcnotify_libcerror.h Examining data/liblnk-20181227/libcnotify/libcnotify_unused.h Examining data/liblnk-20181227/libcnotify/libcnotify_support.h Examining data/liblnk-20181227/libcnotify/libcnotify_support.c Examining data/liblnk-20181227/libcnotify/libcnotify_print.c Examining data/liblnk-20181227/libcnotify/libcnotify_verbose.c Examining data/liblnk-20181227/libcnotify/libcnotify_stream.h Examining data/liblnk-20181227/libcnotify/libcnotify_extern.h Examining data/liblnk-20181227/libcnotify/libcnotify_stream.c Examining data/liblnk-20181227/libcnotify/libcnotify_print.h Examining data/liblnk-20181227/libcnotify/libcnotify_verbose.h Examining data/liblnk-20181227/libcnotify/libcnotify_definitions.h Examining data/liblnk-20181227/libcdata/libcdata_array.c Examining data/liblnk-20181227/libcdata/libcdata_tree_node.c Examining data/liblnk-20181227/libcdata/libcdata_libcthreads.h Examining data/liblnk-20181227/libcdata/libcdata_range_list_value.h Examining data/liblnk-20181227/libcdata/libcdata_unused.h Examining data/liblnk-20181227/libcdata/libcdata_range_list.h Examining data/liblnk-20181227/libcdata/libcdata_range_list.c Examining data/liblnk-20181227/libcdata/libcdata_extern.h Examining data/liblnk-20181227/libcdata/libcdata_support.c Examining data/liblnk-20181227/libcdata/libcdata_list_element.h Examining data/liblnk-20181227/libcdata/libcdata_range_list_value.c Examining data/liblnk-20181227/libcdata/libcdata_libcerror.h Examining data/liblnk-20181227/libcdata/libcdata_error.c Examining data/liblnk-20181227/libcdata/libcdata_error.h Examining data/liblnk-20181227/libcdata/libcdata_support.h Examining data/liblnk-20181227/libcdata/libcdata_list.c Examining data/liblnk-20181227/libcdata/libcdata_tree_node.h Examining data/liblnk-20181227/libcdata/libcdata_list.h Examining data/liblnk-20181227/libcdata/libcdata_types.h Examining data/liblnk-20181227/libcdata/libcdata_list_element.c Examining data/liblnk-20181227/libcdata/libcdata_array.h Examining data/liblnk-20181227/libcdata/libcdata_btree.h Examining data/liblnk-20181227/libcdata/libcdata_definitions.h Examining data/liblnk-20181227/libcdata/libcdata_btree.c Examining data/liblnk-20181227/libcsplit/libcsplit_types.h Examining data/liblnk-20181227/libcsplit/libcsplit_wide_string.h Examining data/liblnk-20181227/libcsplit/libcsplit_error.h Examining data/liblnk-20181227/libcsplit/libcsplit_support.h Examining data/liblnk-20181227/libcsplit/libcsplit_narrow_split_string.c Examining data/liblnk-20181227/libcsplit/libcsplit_narrow_split_string.h Examining data/liblnk-20181227/libcsplit/libcsplit_wide_split_string.c Examining data/liblnk-20181227/libcsplit/libcsplit_narrow_string.h Examining data/liblnk-20181227/libcsplit/libcsplit_unused.h Examining data/liblnk-20181227/libcsplit/libcsplit_wide_string.c Examining data/liblnk-20181227/libcsplit/libcsplit_narrow_string.c Examining data/liblnk-20181227/libcsplit/libcsplit_wide_split_string.h Examining data/liblnk-20181227/libcsplit/libcsplit_definitions.h Examining data/liblnk-20181227/libcsplit/libcsplit_error.c Examining data/liblnk-20181227/libcsplit/libcsplit_support.c Examining data/liblnk-20181227/libcsplit/libcsplit_libcerror.h Examining data/liblnk-20181227/libcsplit/libcsplit_extern.h FINAL RESULTS: data/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-20181227/include/liblnk/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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-20181227/libcthreads/libcthreads_condition.c:119:2: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection( data/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-20181227/libcthreads/libcthreads_lock.c:107:2: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection( data/liblnk-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/liblnk-20181227/libcthreads/libcthreads_mutex.c:114:2: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection( data/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-20181227/lnktools/lnktools_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/liblnk-20181227/tests/lnk_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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-20181227/libfwsi/libfwsi_debug.c:97: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 date_time_string[ 32 ]; data/liblnk-20181227/libfwsi/libfwsi_debug.c:190: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 date_time_string[ 32 ]; data/liblnk-20181227/liblnk/liblnk_debug.c:436: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 date_time_string[ 32 ]; data/liblnk-20181227/pylnk/pylnk_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[ PYLNK_ERROR_STRING_SIZE ]; data/liblnk-20181227/pylnk/pylnk_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[ PYLNK_ERROR_STRING_SIZE ]; data/liblnk-20181227/pylnk/pylnk_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[ PYLNK_ERROR_STRING_SIZE ]; data/liblnk-20181227/pylnk/pylnk_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[ PYLNK_ERROR_STRING_SIZE ]; data/liblnk-20181227/pylnk/pylnk_guid.c:37: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 guid_string[ 48 ]; data/liblnk-20181227/tests/lnk_test_file.c:432: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/liblnk-20181227/tests/lnk_test_file.c:609: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/liblnk-20181227/tests/lnk_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/liblnk-20181227/tests/lnk_test_support.c:208: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/liblnk-20181227/tests/lnk_test_support.c:332: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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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/liblnk-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 ANALYSIS SUMMARY: Hits = 102 Lines analyzed = 219311 in approximately 4.97 seconds (44099 lines/second) Physical Source Lines of Code (SLOC) = 171795 Hits@level = [0] 195 [1] 15 [2] 28 [3] 44 [4] 15 [5] 0 Hits@level+ = [0+] 297 [1+] 102 [2+] 87 [3+] 59 [4+] 15 [5+] 0 Hits/KSLOC@level+ = [0+] 1.7288 [1+] 0.593731 [2+] 0.506418 [3+] 0.343433 [4+] 0.0873134 [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.