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/vulkan-validationlayers-1.2.154.0/layers/android_ndk_types.h Examining data/vulkan-validationlayers-1.2.154.0/layers/best_practices_error_enums.h Examining data/vulkan-validationlayers-1.2.154.0/layers/best_practices_utils.cpp Examining data/vulkan-validationlayers-1.2.154.0/layers/best_practices_validation.h Examining data/vulkan-validationlayers-1.2.154.0/layers/buffer_validation.cpp Examining data/vulkan-validationlayers-1.2.154.0/layers/buffer_validation.h Examining data/vulkan-validationlayers-1.2.154.0/layers/cast_utils.h Examining data/vulkan-validationlayers-1.2.154.0/layers/command_counter.h Examining data/vulkan-validationlayers-1.2.154.0/layers/convert_to_renderpass2.cpp Examining data/vulkan-validationlayers-1.2.154.0/layers/convert_to_renderpass2.h Examining data/vulkan-validationlayers-1.2.154.0/layers/core_validation.cpp Examining data/vulkan-validationlayers-1.2.154.0/layers/core_validation.h Examining data/vulkan-validationlayers-1.2.154.0/layers/core_validation_error_enums.h Examining data/vulkan-validationlayers-1.2.154.0/layers/core_validation_types.h Examining data/vulkan-validationlayers-1.2.154.0/layers/debug_printf.cpp Examining data/vulkan-validationlayers-1.2.154.0/layers/debug_printf.h Examining data/vulkan-validationlayers-1.2.154.0/layers/descriptor_sets.cpp Examining data/vulkan-validationlayers-1.2.154.0/layers/descriptor_sets.h Examining data/vulkan-validationlayers-1.2.154.0/layers/drawdispatch.cpp Examining data/vulkan-validationlayers-1.2.154.0/layers/generated/best_practices.cpp Examining data/vulkan-validationlayers-1.2.154.0/layers/generated/best_practices.h Examining data/vulkan-validationlayers-1.2.154.0/layers/generated/chassis.cpp Examining data/vulkan-validationlayers-1.2.154.0/layers/generated/chassis.h Examining data/vulkan-validationlayers-1.2.154.0/layers/generated/command_counter_helper.cpp Examining data/vulkan-validationlayers-1.2.154.0/layers/generated/command_counter_helper.h Examining data/vulkan-validationlayers-1.2.154.0/layers/generated/layer_chassis_dispatch.cpp Examining data/vulkan-validationlayers-1.2.154.0/layers/generated/layer_chassis_dispatch.h Examining data/vulkan-validationlayers-1.2.154.0/layers/generated/lvt_function_pointers.cpp Examining data/vulkan-validationlayers-1.2.154.0/layers/generated/lvt_function_pointers.h Examining data/vulkan-validationlayers-1.2.154.0/layers/generated/object_tracker.cpp Examining data/vulkan-validationlayers-1.2.154.0/layers/generated/object_tracker.h Examining data/vulkan-validationlayers-1.2.154.0/layers/generated/parameter_validation.cpp Examining data/vulkan-validationlayers-1.2.154.0/layers/generated/parameter_validation.h Examining data/vulkan-validationlayers-1.2.154.0/layers/generated/spirv_tools_commit_id.h Examining data/vulkan-validationlayers-1.2.154.0/layers/generated/synchronization_validation_types.h Examining data/vulkan-validationlayers-1.2.154.0/layers/generated/thread_safety.cpp Examining data/vulkan-validationlayers-1.2.154.0/layers/generated/thread_safety.h Examining data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_dispatch_table_helper.h Examining data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_enum_string_helper.h Examining data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_extension_helper.h Examining data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_layer_dispatch_table.h Examining data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_object_types.h Examining data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp Examining data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.h Examining data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_typemap_helper.h Examining data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_validation_error_messages.h Examining data/vulkan-validationlayers-1.2.154.0/layers/gpu_utils.cpp Examining data/vulkan-validationlayers-1.2.154.0/layers/gpu_utils.h Examining data/vulkan-validationlayers-1.2.154.0/layers/gpu_validation.cpp Examining data/vulkan-validationlayers-1.2.154.0/layers/gpu_validation.h Examining data/vulkan-validationlayers-1.2.154.0/layers/hash_util.h Examining data/vulkan-validationlayers-1.2.154.0/layers/hash_vk_types.h Examining data/vulkan-validationlayers-1.2.154.0/layers/image_layout_map.cpp Examining data/vulkan-validationlayers-1.2.154.0/layers/image_layout_map.h Examining data/vulkan-validationlayers-1.2.154.0/layers/layer_options.cpp Examining data/vulkan-validationlayers-1.2.154.0/layers/layer_options.h Examining data/vulkan-validationlayers-1.2.154.0/layers/object_lifetime_validation.h Examining data/vulkan-validationlayers-1.2.154.0/layers/object_tracker_utils.cpp Examining data/vulkan-validationlayers-1.2.154.0/layers/parameter_name.h Examining data/vulkan-validationlayers-1.2.154.0/layers/parameter_validation_utils.cpp Examining data/vulkan-validationlayers-1.2.154.0/layers/range_vector.h Examining data/vulkan-validationlayers-1.2.154.0/layers/shader_validation.cpp Examining data/vulkan-validationlayers-1.2.154.0/layers/shader_validation.h Examining data/vulkan-validationlayers-1.2.154.0/layers/sparse_containers.h Examining data/vulkan-validationlayers-1.2.154.0/layers/state_tracker.cpp Examining data/vulkan-validationlayers-1.2.154.0/layers/state_tracker.h Examining data/vulkan-validationlayers-1.2.154.0/layers/stateless_validation.h Examining data/vulkan-validationlayers-1.2.154.0/layers/subresource_adapter.cpp Examining data/vulkan-validationlayers-1.2.154.0/layers/subresource_adapter.h Examining data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.cpp Examining data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.h Examining data/vulkan-validationlayers-1.2.154.0/layers/vk_format_utils.cpp Examining data/vulkan-validationlayers-1.2.154.0/layers/vk_format_utils.h Examining data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_config.cpp Examining data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_config.h Examining data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_data.h Examining data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_extension_utils.cpp Examining data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_extension_utils.h Examining data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_logging.h Examining data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_settings_ext.h Examining data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_utils.cpp Examining data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_utils.h Examining data/vulkan-validationlayers-1.2.154.0/layers/vk_loader_platform.h Examining data/vulkan-validationlayers-1.2.154.0/layers/vk_mem_alloc.h Examining data/vulkan-validationlayers-1.2.154.0/layers/xxhash.c Examining data/vulkan-validationlayers-1.2.154.0/layers/xxhash.h Examining data/vulkan-validationlayers-1.2.154.0/tests/icd-spv.h Examining data/vulkan-validationlayers-1.2.154.0/tests/layer_validation_tests.cpp Examining data/vulkan-validationlayers-1.2.154.0/tests/layer_validation_tests.h Examining data/vulkan-validationlayers-1.2.154.0/tests/layers/device_profile_api.cpp Examining data/vulkan-validationlayers-1.2.154.0/tests/layers/vk_device_profile_api_layer.h Examining data/vulkan-validationlayers-1.2.154.0/tests/layers/vk_lunarg_device_profile_api_layer.h Examining data/vulkan-validationlayers-1.2.154.0/tests/test_common.h Examining data/vulkan-validationlayers-1.2.154.0/tests/test_environment.cpp Examining data/vulkan-validationlayers-1.2.154.0/tests/test_environment.h Examining data/vulkan-validationlayers-1.2.154.0/tests/vklayertests_arm_best_practices.cpp Examining data/vulkan-validationlayers-1.2.154.0/tests/vklayertests_best_practices.cpp Examining data/vulkan-validationlayers-1.2.154.0/tests/vklayertests_buffer_image_memory_sampler.cpp Examining data/vulkan-validationlayers-1.2.154.0/tests/vklayertests_command.cpp Examining data/vulkan-validationlayers-1.2.154.0/tests/vklayertests_descriptor_renderpass_framebuffer.cpp Examining data/vulkan-validationlayers-1.2.154.0/tests/vklayertests_gpu.cpp Examining data/vulkan-validationlayers-1.2.154.0/tests/vklayertests_imageless_framebuffer.cpp Examining data/vulkan-validationlayers-1.2.154.0/tests/vklayertests_instanceless.cpp Examining data/vulkan-validationlayers-1.2.154.0/tests/vklayertests_others.cpp Examining data/vulkan-validationlayers-1.2.154.0/tests/vklayertests_pipeline_shader.cpp Examining data/vulkan-validationlayers-1.2.154.0/tests/vkpositivelayertests.cpp Examining data/vulkan-validationlayers-1.2.154.0/tests/vkrenderframework.cpp Examining data/vulkan-validationlayers-1.2.154.0/tests/vkrenderframework.h Examining data/vulkan-validationlayers-1.2.154.0/tests/vktestbinding.cpp Examining data/vulkan-validationlayers-1.2.154.0/tests/vktestbinding.h Examining data/vulkan-validationlayers-1.2.154.0/tests/vktestframework.cpp Examining data/vulkan-validationlayers-1.2.154.0/tests/vktestframework.h Examining data/vulkan-validationlayers-1.2.154.0/tests/vktestframeworkandroid.cpp Examining data/vulkan-validationlayers-1.2.154.0/tests/vktestframeworkandroid.h FINAL RESULTS: data/vulkan-validationlayers-1.2.154.0/layers/core_validation.cpp:10704:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(error_prefix, api_name); data/vulkan-validationlayers-1.2.154.0/layers/core_validation.cpp:10713:13: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(error_prefix, "%s pBindInfos[%u]", api_name, i); data/vulkan-validationlayers-1.2.154.0/layers/core_validation.cpp:11498:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str, "%s called with a non-supported pCreateInfo->preTransform (i.e. %s). Supported values are:\n", func_name, data/vulkan-validationlayers-1.2.154.0/layers/core_validation.cpp:11505:17: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str, " %s\n", newStr); data/vulkan-validationlayers-1.2.154.0/layers/core_validation.cpp:11522:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str, "%s called with a non-supported pCreateInfo->compositeAlpha (i.e. %s). Supported values are:\n", func_name, data/vulkan-validationlayers-1.2.154.0/layers/core_validation.cpp:11529:17: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str, " %s\n", newStr); data/vulkan-validationlayers-1.2.154.0/layers/debug_printf.cpp:400:17: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(tempstring, ", %s", specifier.c_str()); data/vulkan-validationlayers-1.2.154.0/layers/debug_printf.cpp:448:9: [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(buffer, needed, substring.string.c_str(), substring.longval); data/vulkan-validationlayers-1.2.154.0/layers/debug_printf.cpp:450:9: [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(buffer, needed, substring.string.c_str()); data/vulkan-validationlayers-1.2.154.0/layers/debug_printf.cpp:454:26: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. needed = snprintf(buffer, needed, substring.string.c_str(), *static_cast<uint32_t *>(values) - 1); data/vulkan-validationlayers-1.2.154.0/layers/debug_printf.cpp:458:26: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. needed = snprintf(buffer, needed, substring.string.c_str(), *static_cast<int32_t *>(values) - 1); data/vulkan-validationlayers-1.2.154.0/layers/debug_printf.cpp:462:26: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. needed = snprintf(buffer, needed, substring.string.c_str(), *static_cast<float *>(values) - 1); data/vulkan-validationlayers-1.2.154.0/layers/debug_printf.cpp:518:26: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. needed = snprintf(temp_string, static_size, substring.string.c_str(), substring.longval); data/vulkan-validationlayers-1.2.154.0/layers/debug_printf.cpp:523:38: [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. needed = snprintf(temp_string, static_size, substring.string.c_str(), *static_cast<uint32_t *>(values)); data/vulkan-validationlayers-1.2.154.0/layers/debug_printf.cpp:527:38: [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. needed = snprintf(temp_string, static_size, substring.string.c_str(), *static_cast<int32_t *>(values)); data/vulkan-validationlayers-1.2.154.0/layers/debug_printf.cpp:531:38: [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. needed = snprintf(temp_string, static_size, substring.string.c_str(), *static_cast<float *>(values)); data/vulkan-validationlayers-1.2.154.0/layers/debug_printf.cpp:536:30: [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. needed = snprintf(temp_string, static_size, substring.string.c_str()); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:35700:17: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). return std::strcpy(dest, in_string); data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.cpp:575:13: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. access.ApplyBarriers(barriers); data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.cpp:577:28: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. at->second.Resolve(access); data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.cpp:602:17: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. access.ApplyBarriers(barriers); data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.cpp:606:41: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. trimmed->second.Resolve(access); data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.cpp:609:112: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. auto inserted = resolve_map->insert(current->pos_A->lower_bound, std::make_pair(current_range, access)); data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.cpp:654:20: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. for (auto &access : gap_map) { data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.cpp:655:13: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. access.second.ApplyBarriers(barriers); data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.cpp:656:42: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. resolve_map->insert(the_end, access); data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.cpp:2226:81: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. hazard.Set(this, usage_index, WRITE_AFTER_READ, read_access.access, read_access.tag); data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.cpp:2275:81: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. hazard.Set(this, usage_index, WRITE_AFTER_READ, read_access.access, read_access.tag); data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.cpp:2306:76: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. hazard.Set(this, usage_index, WRITE_RACING_READ, last_reads[0].access, last_reads[0].tag); data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.cpp:2329:77: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. hazard.Set(this, usage_index, WRITE_AFTER_READ, read_access.access, read_access.tag); data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.cpp:2388:57: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. my_read.access = other_read.access; data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.cpp:2420:21: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (access.stage == usage_stage) { data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.cpp:2421:21: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. access.access = usage_bit; data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.cpp:2422:21: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. access.barriers = 0; data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.cpp:2423:21: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. access.tag = tag; data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.cpp:2431:13: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. access.stage = usage_stage; data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.cpp:2432:13: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. access.access = usage_bit; data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.cpp:2433:13: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. access.barriers = 0; data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.cpp:2434:13: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. access.tag = tag; data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.cpp:2463:29: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (srcStageMask & (access.stage | access.barriers)) { data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.cpp:2463:44: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (srcStageMask & (access.stage | access.barriers)) { data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.cpp:2464:13: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. access.barriers |= dstStageMask; data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.cpp:2496:30: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (src_scope & (access.stage | access.barriers)) { data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.cpp:2496:45: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (src_scope & (access.stage | access.barriers)) { data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.cpp:2543:29: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (read_access.access & usage_bit) { data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.h:63:67: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. static SyncStageAccessFlags AccessScopeByAccess(VkAccessFlags access); data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.h:64:88: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. static SyncStageAccessFlags AccessScope(VkPipelineStageFlags stages, VkAccessFlags access); data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.h:133:30: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. SyncStageAccessFlags access; // TODO: Change to FlagBits when we have a None bit enum data/vulkan-validationlayers-1.2.154.0/layers/synchronization_validation.h:137:64: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. bool same = (stage == rhs.stage) && (access == rhs.access) && (barriers == rhs.barriers) && (tag == rhs.tag); data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_logging.h:70:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(__VA_ARGS__); \ data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_logging.h:383:18: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). std::strcpy(local_obj_name, object_label.c_str()); data/vulkan-validationlayers-1.2.154.0/layers/vk_loader_platform.h:87:9: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (access(path, F_OK)) data/vulkan-validationlayers-1.2.154.0/tests/vktestframework.cpp:57:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(err_msg); \ data/vulkan-validationlayers-1.2.154.0/tests/vktestframework.cpp:357:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(config, DefaultConfig); data/vulkan-validationlayers-1.2.154.0/layers/debug_printf.cpp:64:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (getenv("DEBUG_PRINTF_TO_STDOUT")) device_debug_printf->use_stdout = true; data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_config.cpp:74:26: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char *output = getenv(variable); data/vulkan-validationlayers-1.2.154.0/layers/vk_loader_platform.h:285:44: [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. loader_platform_dl_handle lib_handle = LoadLibrary(lib_path); data/vulkan-validationlayers-1.2.154.0/layers/vk_loader_platform.h:288:22: [3] (misc) LoadLibraryEx: 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. lib_handle = LoadLibraryEx(lib_path, NULL, LOAD_LIBRARY_SEARCH_DEFAULT_DIRS | LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR); data/vulkan-validationlayers-1.2.154.0/layers/vk_loader_platform.h:342:89: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. static void loader_platform_thread_create_mutex(loader_platform_thread_mutex *pMutex) { InitializeCriticalSection(pMutex); } data/vulkan-validationlayers-1.2.154.0/layers/vk_loader_platform.h:343:87: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. static void loader_platform_thread_lock_mutex(loader_platform_thread_mutex *pMutex) { EnterCriticalSection(pMutex); } data/vulkan-validationlayers-1.2.154.0/tests/test_common.h:195:85: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. static void test_platform_thread_create_mutex(test_platform_thread_mutex *pMutex) { InitializeCriticalSection(pMutex); } data/vulkan-validationlayers-1.2.154.0/tests/test_common.h:196:83: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. static void test_platform_thread_lock_mutex(test_platform_thread_mutex *pMutex) { EnterCriticalSection(pMutex); } data/vulkan-validationlayers-1.2.154.0/layers/android_ndk_types.h:111:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((void *)(*buffer), (void *)ahbDesc, sizeof(AHardwareBuffer_Desc)); data/vulkan-validationlayers-1.2.154.0/layers/android_ndk_types.h:121:9: [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 *)outDesc, (void *)buffer, sizeof(AHardwareBuffer_Desc)); data/vulkan-validationlayers-1.2.154.0/layers/best_practices_utils.cpp:614:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char api_name[64]; data/vulkan-validationlayers-1.2.154.0/layers/best_practices_utils.cpp:618:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(api_name, "vkBindBufferMemory2() pBindInfos[%u]", i); data/vulkan-validationlayers-1.2.154.0/layers/best_practices_utils.cpp:627:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char api_name[64]; data/vulkan-validationlayers-1.2.154.0/layers/best_practices_utils.cpp:631:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(api_name, "vkBindBufferMemory2KHR() pBindInfos[%u]", i); data/vulkan-validationlayers-1.2.154.0/layers/best_practices_utils.cpp:710:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char api_name[64]; data/vulkan-validationlayers-1.2.154.0/layers/best_practices_utils.cpp:714:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(api_name, "vkBindImageMemory2() pBindInfos[%u]", i); data/vulkan-validationlayers-1.2.154.0/layers/best_practices_utils.cpp:725:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char api_name[64]; data/vulkan-validationlayers-1.2.154.0/layers/best_practices_utils.cpp:729:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(api_name, "vkBindImageMemory2KHR() pBindInfos[%u]", i); data/vulkan-validationlayers-1.2.154.0/layers/core_validation.cpp:3990:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char api_name[64]; data/vulkan-validationlayers-1.2.154.0/layers/core_validation.cpp:3994:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(api_name, "vkBindBufferMemory2() pBindInfos[%u]", i); data/vulkan-validationlayers-1.2.154.0/layers/core_validation.cpp:4002:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char api_name[64]; data/vulkan-validationlayers-1.2.154.0/layers/core_validation.cpp:4006:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(api_name, "vkBindBufferMemory2KHR() pBindInfos[%u]", i); data/vulkan-validationlayers-1.2.154.0/layers/core_validation.cpp:10703:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char error_prefix[128]; data/vulkan-validationlayers-1.2.154.0/layers/core_validation.cpp:11496:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char str[1024]; data/vulkan-validationlayers-1.2.154.0/layers/core_validation.cpp:11520:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char str[1024]; data/vulkan-validationlayers-1.2.154.0/layers/debug_printf.cpp:59:62: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). device_debug_printf->output_buffer_size = *size_string ? atoi(size_string) : 1024; data/vulkan-validationlayers-1.2.154.0/layers/debug_printf.cpp:374:13: [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 tempstring[32]; data/vulkan-validationlayers-1.2.154.0/layers/debug_printf.cpp:382:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). count = atoi(&format_string[pos + 1]); data/vulkan-validationlayers-1.2.154.0/layers/debug_printf.cpp:510:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char temp_string[static_size]; data/vulkan-validationlayers-1.2.154.0/layers/generated/layer_chassis_dispatch.cpp:768:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(destination, CastFromUint64<void *>(source), size); data/vulkan-validationlayers-1.2.154.0/layers/generated/thread_safety.h:120:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char padding[(-int(sizeof(std::atomic<loader_platform_thread_id>) + sizeof(std::atomic<int64_t>))) & 63]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_object_types.h:87:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char * const object_string[kVulkanObjectTypeMax] = { data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:424:42: [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 **tmp_ppEnabledLayerNames = new char *[in_struct->enabledLayerCount]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:429:46: [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 **tmp_ppEnabledExtensionNames = new char *[in_struct->enabledExtensionCount]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:454:42: [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 **tmp_ppEnabledLayerNames = new char *[copy_src.enabledLayerCount]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:459:46: [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 **tmp_ppEnabledExtensionNames = new char *[copy_src.enabledExtensionCount]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:495:42: [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 **tmp_ppEnabledLayerNames = new char *[copy_src.enabledLayerCount]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:500:46: [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 **tmp_ppEnabledExtensionNames = new char *[copy_src.enabledExtensionCount]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:539:42: [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 **tmp_ppEnabledLayerNames = new char *[in_struct->enabledLayerCount]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:544:46: [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 **tmp_ppEnabledExtensionNames = new char *[in_struct->enabledExtensionCount]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:561:42: [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 **tmp_ppEnabledLayerNames = new char *[copy_src->enabledLayerCount]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:566:46: [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 **tmp_ppEnabledExtensionNames = new char *[copy_src->enabledExtensionCount]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:585:9: [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 *)pQueuePriorities, (void *)in_struct->pQueuePriorities, sizeof(float)*in_struct->queueCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:605:9: [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 *)pQueuePriorities, (void *)copy_src.pQueuePriorities, sizeof(float)*copy_src.queueCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:626:9: [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 *)pQueuePriorities, (void *)copy_src.pQueuePriorities, sizeof(float)*copy_src.queueCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:650:9: [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 *)pQueuePriorities, (void *)in_struct->pQueuePriorities, sizeof(float)*in_struct->queueCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:664:9: [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 *)pQueuePriorities, (void *)copy_src->pQueuePriorities, sizeof(float)*copy_src->queueCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:678:42: [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 **tmp_ppEnabledLayerNames = new char *[in_struct->enabledLayerCount]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:683:46: [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 **tmp_ppEnabledExtensionNames = new char *[in_struct->enabledExtensionCount]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:718:42: [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 **tmp_ppEnabledLayerNames = new char *[copy_src.enabledLayerCount]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:723:46: [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 **tmp_ppEnabledExtensionNames = new char *[copy_src.enabledExtensionCount]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:770:42: [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 **tmp_ppEnabledLayerNames = new char *[copy_src.enabledLayerCount]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:775:46: [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 **tmp_ppEnabledExtensionNames = new char *[copy_src.enabledExtensionCount]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:825:42: [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 **tmp_ppEnabledLayerNames = new char *[in_struct->enabledLayerCount]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:830:46: [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 **tmp_ppEnabledExtensionNames = new char *[in_struct->enabledExtensionCount]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:856:42: [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 **tmp_ppEnabledLayerNames = new char *[copy_src->enabledLayerCount]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:861:46: [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 **tmp_ppEnabledExtensionNames = new char *[copy_src->enabledExtensionCount]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:896:9: [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 *)pWaitDstStageMask, (void *)in_struct->pWaitDstStageMask, sizeof(VkPipelineStageFlags)*in_struct->waitSemaphoreCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:900:9: [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 *)pCommandBuffers, (void *)in_struct->pCommandBuffers, sizeof(VkCommandBuffer)*in_struct->commandBufferCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:938:9: [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 *)pWaitDstStageMask, (void *)copy_src.pWaitDstStageMask, sizeof(VkPipelineStageFlags)*copy_src.waitSemaphoreCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:942:9: [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 *)pCommandBuffers, (void *)copy_src.pCommandBuffers, sizeof(VkCommandBuffer)*copy_src.commandBufferCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:984:9: [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 *)pWaitDstStageMask, (void *)copy_src.pWaitDstStageMask, sizeof(VkPipelineStageFlags)*copy_src.waitSemaphoreCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:988:9: [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 *)pCommandBuffers, (void *)copy_src.pCommandBuffers, sizeof(VkCommandBuffer)*copy_src.commandBufferCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:1033:9: [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 *)pWaitDstStageMask, (void *)in_struct->pWaitDstStageMask, sizeof(VkPipelineStageFlags)*in_struct->waitSemaphoreCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:1037:9: [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 *)pCommandBuffers, (void *)in_struct->pCommandBuffers, sizeof(VkCommandBuffer)*in_struct->commandBufferCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:1066:9: [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 *)pWaitDstStageMask, (void *)copy_src->pWaitDstStageMask, sizeof(VkPipelineStageFlags)*copy_src->waitSemaphoreCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:1070:9: [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 *)pCommandBuffers, (void *)copy_src->pCommandBuffers, sizeof(VkCommandBuffer)*copy_src->commandBufferCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:1959:9: [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 *)pQueueFamilyIndices, (void *)in_struct->pQueueFamilyIndices, sizeof(uint32_t)*in_struct->queueFamilyIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:1981:9: [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 *)pQueueFamilyIndices, (void *)copy_src.pQueueFamilyIndices, sizeof(uint32_t)*copy_src.queueFamilyIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:2004:9: [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 *)pQueueFamilyIndices, (void *)copy_src.pQueueFamilyIndices, sizeof(uint32_t)*copy_src.queueFamilyIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:2030:9: [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 *)pQueueFamilyIndices, (void *)in_struct->pQueueFamilyIndices, sizeof(uint32_t)*in_struct->queueFamilyIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:2046:9: [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 *)pQueueFamilyIndices, (void *)copy_src->pQueueFamilyIndices, sizeof(uint32_t)*copy_src->queueFamilyIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:2142:9: [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 *)pQueueFamilyIndices, (void *)in_struct->pQueueFamilyIndices, sizeof(uint32_t)*in_struct->queueFamilyIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:2171:9: [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 *)pQueueFamilyIndices, (void *)copy_src.pQueueFamilyIndices, sizeof(uint32_t)*copy_src.queueFamilyIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:2201:9: [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 *)pQueueFamilyIndices, (void *)copy_src.pQueueFamilyIndices, sizeof(uint32_t)*copy_src.queueFamilyIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:2234:9: [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 *)pQueueFamilyIndices, (void *)in_struct->pQueueFamilyIndices, sizeof(uint32_t)*in_struct->queueFamilyIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:2257:9: [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 *)pQueueFamilyIndices, (void *)copy_src->pQueueFamilyIndices, sizeof(uint32_t)*copy_src->queueFamilyIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:2348:9: [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 *)pCode, (void *)in_struct->pCode, codeSize); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:2367:9: [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 *)pCode, (void *)copy_src.pCode, codeSize); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:2387:9: [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 *)pCode, (void *)copy_src.pCode, codeSize); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:2410:9: [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 *)pCode, (void *)in_struct->pCode, codeSize); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:2423:9: [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 *)pCode, (void *)copy_src->pCode, codeSize); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:2499:9: [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 *)pMapEntries, (void *)in_struct->pMapEntries, sizeof(VkSpecializationMapEntry)*in_struct->mapEntryCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:2516:9: [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 *)pMapEntries, (void *)copy_src.pMapEntries, sizeof(VkSpecializationMapEntry)*copy_src.mapEntryCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:2533:9: [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 *)pMapEntries, (void *)copy_src.pMapEntries, sizeof(VkSpecializationMapEntry)*copy_src.mapEntryCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:2553:9: [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 *)pMapEntries, (void *)in_struct->pMapEntries, sizeof(VkSpecializationMapEntry)*in_struct->mapEntryCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:2565:9: [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 *)pMapEntries, (void *)copy_src->pMapEntries, sizeof(VkSpecializationMapEntry)*copy_src->mapEntryCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:2744:9: [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 *)pVertexBindingDescriptions, (void *)in_struct->pVertexBindingDescriptions, sizeof(VkVertexInputBindingDescription)*in_struct->vertexBindingDescriptionCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:2748:9: [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 *)pVertexAttributeDescriptions, (void *)in_struct->pVertexAttributeDescriptions, sizeof(VkVertexInputAttributeDescription)*in_struct->vertexAttributeDescriptionCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:2770:9: [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 *)pVertexBindingDescriptions, (void *)copy_src.pVertexBindingDescriptions, sizeof(VkVertexInputBindingDescription)*copy_src.vertexBindingDescriptionCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:2774:9: [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 *)pVertexAttributeDescriptions, (void *)copy_src.pVertexAttributeDescriptions, sizeof(VkVertexInputAttributeDescription)*copy_src.vertexAttributeDescriptionCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:2798:9: [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 *)pVertexBindingDescriptions, (void *)copy_src.pVertexBindingDescriptions, sizeof(VkVertexInputBindingDescription)*copy_src.vertexBindingDescriptionCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:2802:9: [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 *)pVertexAttributeDescriptions, (void *)copy_src.pVertexAttributeDescriptions, sizeof(VkVertexInputAttributeDescription)*copy_src.vertexAttributeDescriptionCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:2829:9: [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 *)pVertexBindingDescriptions, (void *)in_struct->pVertexBindingDescriptions, sizeof(VkVertexInputBindingDescription)*in_struct->vertexBindingDescriptionCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:2833:9: [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 *)pVertexAttributeDescriptions, (void *)in_struct->pVertexAttributeDescriptions, sizeof(VkVertexInputAttributeDescription)*in_struct->vertexAttributeDescriptionCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:2848:9: [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 *)pVertexBindingDescriptions, (void *)copy_src->pVertexBindingDescriptions, sizeof(VkVertexInputBindingDescription)*copy_src->vertexBindingDescriptionCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:2852:9: [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 *)pVertexAttributeDescriptions, (void *)copy_src->pVertexAttributeDescriptions, sizeof(VkVertexInputAttributeDescription)*copy_src->vertexAttributeDescriptionCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:2988:9: [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 *)pViewports, (void *)in_struct->pViewports, sizeof(VkViewport)*in_struct->viewportCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:2994:9: [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 *)pScissors, (void *)in_struct->pScissors, sizeof(VkRect2D)*in_struct->scissorCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:3018:9: [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 *)pViewports, (void *)copy_src.pViewports, sizeof(VkViewport)*copy_src.viewportCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:3024:9: [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 *)pScissors, (void *)copy_src.pScissors, sizeof(VkRect2D)*copy_src.scissorCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:3050:9: [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 *)pViewports, (void *)copy_src.pViewports, sizeof(VkViewport)*copy_src.viewportCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:3056:9: [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 *)pScissors, (void *)copy_src.pScissors, sizeof(VkRect2D)*copy_src.scissorCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:3085:9: [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 *)pViewports, (void *)in_struct->pViewports, sizeof(VkViewport)*in_struct->viewportCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:3091:9: [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 *)pScissors, (void *)in_struct->pScissors, sizeof(VkRect2D)*in_struct->scissorCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:3108:9: [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 *)pViewports, (void *)copy_src->pViewports, sizeof(VkViewport)*copy_src->viewportCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:3114:9: [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 *)pScissors, (void *)copy_src->pScissors, sizeof(VkRect2D)*copy_src->scissorCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:3435:9: [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 *)pAttachments, (void *)in_struct->pAttachments, sizeof(VkPipelineColorBlendAttachmentState)*in_struct->attachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:3459:9: [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 *)pAttachments, (void *)copy_src.pAttachments, sizeof(VkPipelineColorBlendAttachmentState)*copy_src.attachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:3484:9: [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 *)pAttachments, (void *)copy_src.pAttachments, sizeof(VkPipelineColorBlendAttachmentState)*copy_src.attachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:3512:9: [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 *)pAttachments, (void *)in_struct->pAttachments, sizeof(VkPipelineColorBlendAttachmentState)*in_struct->attachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:3530:9: [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 *)pAttachments, (void *)copy_src->pAttachments, sizeof(VkPipelineColorBlendAttachmentState)*copy_src->attachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:3546:9: [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 *)pDynamicStates, (void *)in_struct->pDynamicStates, sizeof(VkDynamicState)*in_struct->dynamicStateCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:3565:9: [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 *)pDynamicStates, (void *)copy_src.pDynamicStates, sizeof(VkDynamicState)*copy_src.dynamicStateCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:3585:9: [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 *)pDynamicStates, (void *)copy_src.pDynamicStates, sizeof(VkDynamicState)*copy_src.dynamicStateCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:3608:9: [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 *)pDynamicStates, (void *)in_struct->pDynamicStates, sizeof(VkDynamicState)*in_struct->dynamicStateCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:3621:9: [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 *)pDynamicStates, (void *)copy_src->pDynamicStates, sizeof(VkDynamicState)*copy_src->dynamicStateCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:4089:9: [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 *)pPushConstantRanges, (void *)in_struct->pPushConstantRanges, sizeof(VkPushConstantRange)*in_struct->pushConstantRangeCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:4117:9: [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 *)pPushConstantRanges, (void *)copy_src.pPushConstantRanges, sizeof(VkPushConstantRange)*copy_src.pushConstantRangeCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:4147:9: [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 *)pPushConstantRanges, (void *)copy_src.pPushConstantRanges, sizeof(VkPushConstantRange)*copy_src.pushConstantRangeCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:4180:9: [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 *)pPushConstantRanges, (void *)in_struct->pPushConstantRanges, sizeof(VkPushConstantRange)*in_struct->pushConstantRangeCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:4201:9: [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 *)pPushConstantRanges, (void *)copy_src->pPushConstantRanges, sizeof(VkPushConstantRange)*copy_src->pushConstantRangeCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:4426:9: [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 *)pPoolSizes, (void *)in_struct->pPoolSizes, sizeof(VkDescriptorPoolSize)*in_struct->poolSizeCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:4446:9: [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 *)pPoolSizes, (void *)copy_src.pPoolSizes, sizeof(VkDescriptorPoolSize)*copy_src.poolSizeCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:4467:9: [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 *)pPoolSizes, (void *)copy_src.pPoolSizes, sizeof(VkDescriptorPoolSize)*copy_src.poolSizeCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:4491:9: [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 *)pPoolSizes, (void *)in_struct->pPoolSizes, sizeof(VkDescriptorPoolSize)*in_struct->poolSizeCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:4505:9: [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 *)pPoolSizes, (void *)copy_src->pPoolSizes, sizeof(VkDescriptorPoolSize)*copy_src->poolSizeCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5217:9: [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 *)pInputAttachments, (void *)in_struct->pInputAttachments, sizeof(VkAttachmentReference)*in_struct->inputAttachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5221:9: [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 *)pColorAttachments, (void *)in_struct->pColorAttachments, sizeof(VkAttachmentReference)*in_struct->colorAttachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5225:9: [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 *)pResolveAttachments, (void *)in_struct->pResolveAttachments, sizeof(VkAttachmentReference)*in_struct->colorAttachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5232:9: [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 *)pPreserveAttachments, (void *)in_struct->pPreserveAttachments, sizeof(uint32_t)*in_struct->preserveAttachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5258:9: [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 *)pInputAttachments, (void *)copy_src.pInputAttachments, sizeof(VkAttachmentReference)*copy_src.inputAttachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5262:9: [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 *)pColorAttachments, (void *)copy_src.pColorAttachments, sizeof(VkAttachmentReference)*copy_src.colorAttachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5266:9: [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 *)pResolveAttachments, (void *)copy_src.pResolveAttachments, sizeof(VkAttachmentReference)*copy_src.colorAttachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5273:9: [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 *)pPreserveAttachments, (void *)copy_src.pPreserveAttachments, sizeof(uint32_t)*copy_src.preserveAttachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5304:9: [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 *)pInputAttachments, (void *)copy_src.pInputAttachments, sizeof(VkAttachmentReference)*copy_src.inputAttachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5308:9: [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 *)pColorAttachments, (void *)copy_src.pColorAttachments, sizeof(VkAttachmentReference)*copy_src.colorAttachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5312:9: [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 *)pResolveAttachments, (void *)copy_src.pResolveAttachments, sizeof(VkAttachmentReference)*copy_src.colorAttachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5319:9: [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 *)pPreserveAttachments, (void *)copy_src.pPreserveAttachments, sizeof(uint32_t)*copy_src.preserveAttachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5353:9: [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 *)pInputAttachments, (void *)in_struct->pInputAttachments, sizeof(VkAttachmentReference)*in_struct->inputAttachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5357:9: [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 *)pColorAttachments, (void *)in_struct->pColorAttachments, sizeof(VkAttachmentReference)*in_struct->colorAttachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5361:9: [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 *)pResolveAttachments, (void *)in_struct->pResolveAttachments, sizeof(VkAttachmentReference)*in_struct->colorAttachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5368:9: [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 *)pPreserveAttachments, (void *)in_struct->pPreserveAttachments, sizeof(uint32_t)*in_struct->preserveAttachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5386:9: [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 *)pInputAttachments, (void *)copy_src->pInputAttachments, sizeof(VkAttachmentReference)*copy_src->inputAttachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5390:9: [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 *)pColorAttachments, (void *)copy_src->pColorAttachments, sizeof(VkAttachmentReference)*copy_src->colorAttachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5394:9: [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 *)pResolveAttachments, (void *)copy_src->pResolveAttachments, sizeof(VkAttachmentReference)*copy_src->colorAttachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5401:9: [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 *)pPreserveAttachments, (void *)copy_src->pPreserveAttachments, sizeof(uint32_t)*copy_src->preserveAttachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5418:9: [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 *)pAttachments, (void *)in_struct->pAttachments, sizeof(VkAttachmentDescription)*in_struct->attachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5428:9: [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 *)pDependencies, (void *)in_struct->pDependencies, sizeof(VkSubpassDependency)*in_struct->dependencyCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5453:9: [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 *)pAttachments, (void *)copy_src.pAttachments, sizeof(VkAttachmentDescription)*copy_src.attachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5463:9: [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 *)pDependencies, (void *)copy_src.pDependencies, sizeof(VkSubpassDependency)*copy_src.dependencyCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5491:9: [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 *)pAttachments, (void *)copy_src.pAttachments, sizeof(VkAttachmentDescription)*copy_src.attachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5501:9: [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 *)pDependencies, (void *)copy_src.pDependencies, sizeof(VkSubpassDependency)*copy_src.dependencyCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5532:9: [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 *)pAttachments, (void *)in_struct->pAttachments, sizeof(VkAttachmentDescription)*in_struct->attachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5542:9: [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 *)pDependencies, (void *)in_struct->pDependencies, sizeof(VkSubpassDependency)*in_struct->dependencyCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5559:9: [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 *)pAttachments, (void *)copy_src->pAttachments, sizeof(VkAttachmentDescription)*copy_src->attachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5569:9: [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 *)pDependencies, (void *)copy_src->pDependencies, sizeof(VkSubpassDependency)*copy_src->dependencyCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5856:9: [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 *)pClearValues, (void *)in_struct->pClearValues, sizeof(VkClearValue)*in_struct->clearValueCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5877:9: [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 *)pClearValues, (void *)copy_src.pClearValues, sizeof(VkClearValue)*copy_src.clearValueCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5899:9: [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 *)pClearValues, (void *)copy_src.pClearValues, sizeof(VkClearValue)*copy_src.clearValueCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5924:9: [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 *)pClearValues, (void *)in_struct->pClearValues, sizeof(VkClearValue)*in_struct->clearValueCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:5939:9: [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 *)pClearValues, (void *)copy_src->pClearValues, sizeof(VkClearValue)*copy_src->clearValueCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6388:9: [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 *)pDeviceRenderAreas, (void *)in_struct->pDeviceRenderAreas, sizeof(VkRect2D)*in_struct->deviceRenderAreaCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6407:9: [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 *)pDeviceRenderAreas, (void *)copy_src.pDeviceRenderAreas, sizeof(VkRect2D)*copy_src.deviceRenderAreaCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6427:9: [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 *)pDeviceRenderAreas, (void *)copy_src.pDeviceRenderAreas, sizeof(VkRect2D)*copy_src.deviceRenderAreaCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6450:9: [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 *)pDeviceRenderAreas, (void *)in_struct->pDeviceRenderAreas, sizeof(VkRect2D)*in_struct->deviceRenderAreaCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6463:9: [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 *)pDeviceRenderAreas, (void *)copy_src->pDeviceRenderAreas, sizeof(VkRect2D)*copy_src->deviceRenderAreaCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6532:9: [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 *)pWaitSemaphoreDeviceIndices, (void *)in_struct->pWaitSemaphoreDeviceIndices, sizeof(uint32_t)*in_struct->waitSemaphoreCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6536:9: [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 *)pCommandBufferDeviceMasks, (void *)in_struct->pCommandBufferDeviceMasks, sizeof(uint32_t)*in_struct->commandBufferCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6540:9: [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 *)pSignalSemaphoreDeviceIndices, (void *)in_struct->pSignalSemaphoreDeviceIndices, sizeof(uint32_t)*in_struct->signalSemaphoreCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6564:9: [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 *)pWaitSemaphoreDeviceIndices, (void *)copy_src.pWaitSemaphoreDeviceIndices, sizeof(uint32_t)*copy_src.waitSemaphoreCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6568:9: [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 *)pCommandBufferDeviceMasks, (void *)copy_src.pCommandBufferDeviceMasks, sizeof(uint32_t)*copy_src.commandBufferCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6572:9: [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 *)pSignalSemaphoreDeviceIndices, (void *)copy_src.pSignalSemaphoreDeviceIndices, sizeof(uint32_t)*copy_src.signalSemaphoreCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6599:9: [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 *)pWaitSemaphoreDeviceIndices, (void *)copy_src.pWaitSemaphoreDeviceIndices, sizeof(uint32_t)*copy_src.waitSemaphoreCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6603:9: [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 *)pCommandBufferDeviceMasks, (void *)copy_src.pCommandBufferDeviceMasks, sizeof(uint32_t)*copy_src.commandBufferCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6607:9: [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 *)pSignalSemaphoreDeviceIndices, (void *)copy_src.pSignalSemaphoreDeviceIndices, sizeof(uint32_t)*copy_src.signalSemaphoreCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6637:9: [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 *)pWaitSemaphoreDeviceIndices, (void *)in_struct->pWaitSemaphoreDeviceIndices, sizeof(uint32_t)*in_struct->waitSemaphoreCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6641:9: [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 *)pCommandBufferDeviceMasks, (void *)in_struct->pCommandBufferDeviceMasks, sizeof(uint32_t)*in_struct->commandBufferCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6645:9: [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 *)pSignalSemaphoreDeviceIndices, (void *)in_struct->pSignalSemaphoreDeviceIndices, sizeof(uint32_t)*in_struct->signalSemaphoreCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6661:9: [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 *)pWaitSemaphoreDeviceIndices, (void *)copy_src->pWaitSemaphoreDeviceIndices, sizeof(uint32_t)*copy_src->waitSemaphoreCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6665:9: [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 *)pCommandBufferDeviceMasks, (void *)copy_src->pCommandBufferDeviceMasks, sizeof(uint32_t)*copy_src->commandBufferCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6669:9: [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 *)pSignalSemaphoreDeviceIndices, (void *)copy_src->pSignalSemaphoreDeviceIndices, sizeof(uint32_t)*copy_src->signalSemaphoreCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6739:9: [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 *)pDeviceIndices, (void *)in_struct->pDeviceIndices, sizeof(uint32_t)*in_struct->deviceIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6757:9: [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 *)pDeviceIndices, (void *)copy_src.pDeviceIndices, sizeof(uint32_t)*copy_src.deviceIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6776:9: [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 *)pDeviceIndices, (void *)copy_src.pDeviceIndices, sizeof(uint32_t)*copy_src.deviceIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6798:9: [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 *)pDeviceIndices, (void *)in_struct->pDeviceIndices, sizeof(uint32_t)*in_struct->deviceIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6810:9: [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 *)pDeviceIndices, (void *)copy_src->pDeviceIndices, sizeof(uint32_t)*copy_src->deviceIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6824:9: [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 *)pDeviceIndices, (void *)in_struct->pDeviceIndices, sizeof(uint32_t)*in_struct->deviceIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6828:9: [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 *)pSplitInstanceBindRegions, (void *)in_struct->pSplitInstanceBindRegions, sizeof(VkRect2D)*in_struct->splitInstanceBindRegionCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6849:9: [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 *)pDeviceIndices, (void *)copy_src.pDeviceIndices, sizeof(uint32_t)*copy_src.deviceIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6853:9: [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 *)pSplitInstanceBindRegions, (void *)copy_src.pSplitInstanceBindRegions, sizeof(VkRect2D)*copy_src.splitInstanceBindRegionCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6876:9: [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 *)pDeviceIndices, (void *)copy_src.pDeviceIndices, sizeof(uint32_t)*copy_src.deviceIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6880:9: [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 *)pSplitInstanceBindRegions, (void *)copy_src.pSplitInstanceBindRegions, sizeof(VkRect2D)*copy_src.splitInstanceBindRegionCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6906:9: [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 *)pDeviceIndices, (void *)in_struct->pDeviceIndices, sizeof(uint32_t)*in_struct->deviceIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6910:9: [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 *)pSplitInstanceBindRegions, (void *)in_struct->pSplitInstanceBindRegions, sizeof(VkRect2D)*in_struct->splitInstanceBindRegionCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6924:9: [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 *)pDeviceIndices, (void *)copy_src->pDeviceIndices, sizeof(uint32_t)*copy_src->deviceIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:6928:9: [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 *)pSplitInstanceBindRegions, (void *)copy_src->pSplitInstanceBindRegions, sizeof(VkRect2D)*copy_src->splitInstanceBindRegionCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:7013:9: [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 *)pPhysicalDevices, (void *)in_struct->pPhysicalDevices, sizeof(VkPhysicalDevice)*in_struct->physicalDeviceCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:7031:9: [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 *)pPhysicalDevices, (void *)copy_src.pPhysicalDevices, sizeof(VkPhysicalDevice)*copy_src.physicalDeviceCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:7050:9: [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 *)pPhysicalDevices, (void *)copy_src.pPhysicalDevices, sizeof(VkPhysicalDevice)*copy_src.physicalDeviceCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:7072:9: [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 *)pPhysicalDevices, (void *)in_struct->pPhysicalDevices, sizeof(VkPhysicalDevice)*in_struct->physicalDeviceCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:7084:9: [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 *)pPhysicalDevices, (void *)copy_src->pPhysicalDevices, sizeof(VkPhysicalDevice)*copy_src->physicalDeviceCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:7931:9: [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 *)pAspectReferences, (void *)in_struct->pAspectReferences, sizeof(VkInputAttachmentAspectReference)*in_struct->aspectReferenceCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:7949:9: [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 *)pAspectReferences, (void *)copy_src.pAspectReferences, sizeof(VkInputAttachmentAspectReference)*copy_src.aspectReferenceCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:7968:9: [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 *)pAspectReferences, (void *)copy_src.pAspectReferences, sizeof(VkInputAttachmentAspectReference)*copy_src.aspectReferenceCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:7990:9: [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 *)pAspectReferences, (void *)in_struct->pAspectReferences, sizeof(VkInputAttachmentAspectReference)*in_struct->aspectReferenceCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:8002:9: [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 *)pAspectReferences, (void *)copy_src->pAspectReferences, sizeof(VkInputAttachmentAspectReference)*copy_src->aspectReferenceCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:8124:9: [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 *)pViewMasks, (void *)in_struct->pViewMasks, sizeof(uint32_t)*in_struct->subpassCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:8128:9: [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 *)pViewOffsets, (void *)in_struct->pViewOffsets, sizeof(int32_t)*in_struct->dependencyCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:8132:9: [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 *)pCorrelationMasks, (void *)in_struct->pCorrelationMasks, sizeof(uint32_t)*in_struct->correlationMaskCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:8156:9: [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 *)pViewMasks, (void *)copy_src.pViewMasks, sizeof(uint32_t)*copy_src.subpassCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:8160:9: [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 *)pViewOffsets, (void *)copy_src.pViewOffsets, sizeof(int32_t)*copy_src.dependencyCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:8164:9: [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 *)pCorrelationMasks, (void *)copy_src.pCorrelationMasks, sizeof(uint32_t)*copy_src.correlationMaskCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:8191:9: [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 *)pViewMasks, (void *)copy_src.pViewMasks, sizeof(uint32_t)*copy_src.subpassCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:8195:9: [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 *)pViewOffsets, (void *)copy_src.pViewOffsets, sizeof(int32_t)*copy_src.dependencyCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:8199:9: [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 *)pCorrelationMasks, (void *)copy_src.pCorrelationMasks, sizeof(uint32_t)*copy_src.correlationMaskCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:8229:9: [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 *)pViewMasks, (void *)in_struct->pViewMasks, sizeof(uint32_t)*in_struct->subpassCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:8233:9: [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 *)pViewOffsets, (void *)in_struct->pViewOffsets, sizeof(int32_t)*in_struct->dependencyCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:8237:9: [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 *)pCorrelationMasks, (void *)in_struct->pCorrelationMasks, sizeof(uint32_t)*in_struct->correlationMaskCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:8253:9: [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 *)pViewMasks, (void *)copy_src->pViewMasks, sizeof(uint32_t)*copy_src->subpassCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:8257:9: [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 *)pViewOffsets, (void *)copy_src->pViewOffsets, sizeof(int32_t)*copy_src->dependencyCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:8261:9: [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 *)pCorrelationMasks, (void *)copy_src->pCorrelationMasks, sizeof(uint32_t)*copy_src->correlationMaskCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:9033:9: [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 *)pDescriptorUpdateEntries, (void *)in_struct->pDescriptorUpdateEntries, sizeof(VkDescriptorUpdateTemplateEntry)*in_struct->descriptorUpdateEntryCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:9057:9: [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 *)pDescriptorUpdateEntries, (void *)copy_src.pDescriptorUpdateEntries, sizeof(VkDescriptorUpdateTemplateEntry)*copy_src.descriptorUpdateEntryCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:9082:9: [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 *)pDescriptorUpdateEntries, (void *)copy_src.pDescriptorUpdateEntries, sizeof(VkDescriptorUpdateTemplateEntry)*copy_src.descriptorUpdateEntryCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:9110:9: [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 *)pDescriptorUpdateEntries, (void *)in_struct->pDescriptorUpdateEntries, sizeof(VkDescriptorUpdateTemplateEntry)*in_struct->descriptorUpdateEntryCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:9128:9: [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 *)pDescriptorUpdateEntries, (void *)copy_src->pDescriptorUpdateEntries, sizeof(VkDescriptorUpdateTemplateEntry)*copy_src->descriptorUpdateEntryCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:10998:9: [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 *)pViewFormats, (void *)in_struct->pViewFormats, sizeof(VkFormat)*in_struct->viewFormatCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:11016:9: [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 *)pViewFormats, (void *)copy_src.pViewFormats, sizeof(VkFormat)*copy_src.viewFormatCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:11035:9: [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 *)pViewFormats, (void *)copy_src.pViewFormats, sizeof(VkFormat)*copy_src.viewFormatCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:11057:9: [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 *)pViewFormats, (void *)in_struct->pViewFormats, sizeof(VkFormat)*in_struct->viewFormatCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:11069:9: [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 *)pViewFormats, (void *)copy_src->pViewFormats, sizeof(VkFormat)*copy_src->viewFormatCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:11266:9: [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 *)pPreserveAttachments, (void *)in_struct->pPreserveAttachments, sizeof(uint32_t)*in_struct->preserveAttachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:11317:9: [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 *)pPreserveAttachments, (void *)copy_src.pPreserveAttachments, sizeof(uint32_t)*copy_src.preserveAttachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:11373:9: [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 *)pPreserveAttachments, (void *)copy_src.pPreserveAttachments, sizeof(uint32_t)*copy_src.preserveAttachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:11432:9: [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 *)pPreserveAttachments, (void *)in_struct->pPreserveAttachments, sizeof(uint32_t)*in_struct->preserveAttachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:11473:9: [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 *)pPreserveAttachments, (void *)copy_src->pPreserveAttachments, sizeof(uint32_t)*copy_src->preserveAttachmentCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:11598:9: [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 *)pCorrelatedViewMasks, (void *)in_struct->pCorrelatedViewMasks, sizeof(uint32_t)*in_struct->correlatedViewMaskCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:11644:9: [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 *)pCorrelatedViewMasks, (void *)copy_src.pCorrelatedViewMasks, sizeof(uint32_t)*copy_src.correlatedViewMaskCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:11694:9: [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 *)pCorrelatedViewMasks, (void *)copy_src.pCorrelatedViewMasks, sizeof(uint32_t)*copy_src.correlatedViewMaskCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:11747:9: [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 *)pCorrelatedViewMasks, (void *)in_struct->pCorrelatedViewMasks, sizeof(uint32_t)*in_struct->correlatedViewMaskCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:11784:9: [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 *)pCorrelatedViewMasks, (void *)copy_src->pCorrelatedViewMasks, sizeof(uint32_t)*copy_src->correlatedViewMaskCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:12297:9: [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 *)pBindingFlags, (void *)in_struct->pBindingFlags, sizeof(VkDescriptorBindingFlags)*in_struct->bindingCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:12315:9: [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 *)pBindingFlags, (void *)copy_src.pBindingFlags, sizeof(VkDescriptorBindingFlags)*copy_src.bindingCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:12334:9: [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 *)pBindingFlags, (void *)copy_src.pBindingFlags, sizeof(VkDescriptorBindingFlags)*copy_src.bindingCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:12356:9: [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 *)pBindingFlags, (void *)in_struct->pBindingFlags, sizeof(VkDescriptorBindingFlags)*in_struct->bindingCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:12368:9: [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 *)pBindingFlags, (void *)copy_src->pBindingFlags, sizeof(VkDescriptorBindingFlags)*copy_src->bindingCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:12691:9: [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 *)pDescriptorCounts, (void *)in_struct->pDescriptorCounts, sizeof(uint32_t)*in_struct->descriptorSetCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:12709:9: [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 *)pDescriptorCounts, (void *)copy_src.pDescriptorCounts, sizeof(uint32_t)*copy_src.descriptorSetCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:12728:9: [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 *)pDescriptorCounts, (void *)copy_src.pDescriptorCounts, sizeof(uint32_t)*copy_src.descriptorSetCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:12750:9: [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 *)pDescriptorCounts, (void *)in_struct->pDescriptorCounts, sizeof(uint32_t)*in_struct->descriptorSetCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:12762:9: [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 *)pDescriptorCounts, (void *)copy_src->pDescriptorCounts, sizeof(uint32_t)*copy_src->descriptorSetCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:13311:9: [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 *)pViewFormats, (void *)in_struct->pViewFormats, sizeof(VkFormat)*in_struct->viewFormatCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:13334:9: [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 *)pViewFormats, (void *)copy_src.pViewFormats, sizeof(VkFormat)*copy_src.viewFormatCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:13358:9: [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 *)pViewFormats, (void *)copy_src.pViewFormats, sizeof(VkFormat)*copy_src.viewFormatCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:13385:9: [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 *)pViewFormats, (void *)in_struct->pViewFormats, sizeof(VkFormat)*in_struct->viewFormatCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:13402:9: [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 *)pViewFormats, (void *)copy_src->pViewFormats, sizeof(VkFormat)*copy_src->viewFormatCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:14089:9: [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 *)pWaitSemaphoreValues, (void *)in_struct->pWaitSemaphoreValues, sizeof(uint64_t)*in_struct->waitSemaphoreValueCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:14093:9: [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 *)pSignalSemaphoreValues, (void *)in_struct->pSignalSemaphoreValues, sizeof(uint64_t)*in_struct->signalSemaphoreValueCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:14114:9: [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 *)pWaitSemaphoreValues, (void *)copy_src.pWaitSemaphoreValues, sizeof(uint64_t)*copy_src.waitSemaphoreValueCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:14118:9: [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 *)pSignalSemaphoreValues, (void *)copy_src.pSignalSemaphoreValues, sizeof(uint64_t)*copy_src.signalSemaphoreValueCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:14141:9: [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 *)pWaitSemaphoreValues, (void *)copy_src.pWaitSemaphoreValues, sizeof(uint64_t)*copy_src.waitSemaphoreValueCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:14145:9: [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 *)pSignalSemaphoreValues, (void *)copy_src.pSignalSemaphoreValues, sizeof(uint64_t)*copy_src.signalSemaphoreValueCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:14171:9: [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 *)pWaitSemaphoreValues, (void *)in_struct->pWaitSemaphoreValues, sizeof(uint64_t)*in_struct->waitSemaphoreValueCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:14175:9: [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 *)pSignalSemaphoreValues, (void *)in_struct->pSignalSemaphoreValues, sizeof(uint64_t)*in_struct->signalSemaphoreValueCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:14189:9: [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 *)pWaitSemaphoreValues, (void *)copy_src->pWaitSemaphoreValues, sizeof(uint64_t)*copy_src->waitSemaphoreValueCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:14193:9: [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 *)pSignalSemaphoreValues, (void *)copy_src->pSignalSemaphoreValues, sizeof(uint64_t)*copy_src->signalSemaphoreValueCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:14213:9: [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 *)pValues, (void *)in_struct->pValues, sizeof(uint64_t)*in_struct->semaphoreCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:14240:9: [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 *)pValues, (void *)copy_src.pValues, sizeof(uint64_t)*copy_src.semaphoreCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:14269:9: [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 *)pValues, (void *)copy_src.pValues, sizeof(uint64_t)*copy_src.semaphoreCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:14301:9: [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 *)pValues, (void *)in_struct->pValues, sizeof(uint64_t)*in_struct->semaphoreCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:14321:9: [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 *)pValues, (void *)copy_src->pValues, sizeof(uint64_t)*copy_src->semaphoreCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:14680:9: [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 *)pQueueFamilyIndices, (void *)in_struct->pQueueFamilyIndices, sizeof(uint32_t)*in_struct->queueFamilyIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:14712:9: [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 *)pQueueFamilyIndices, (void *)copy_src.pQueueFamilyIndices, sizeof(uint32_t)*copy_src.queueFamilyIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:14745:9: [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 *)pQueueFamilyIndices, (void *)copy_src.pQueueFamilyIndices, sizeof(uint32_t)*copy_src.queueFamilyIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:14781:9: [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 *)pQueueFamilyIndices, (void *)in_struct->pQueueFamilyIndices, sizeof(uint32_t)*in_struct->queueFamilyIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:14807:9: [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 *)pQueueFamilyIndices, (void *)copy_src->pQueueFamilyIndices, sizeof(uint32_t)*copy_src->queueFamilyIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:14835:9: [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 *)pImageIndices, (void *)in_struct->pImageIndices, sizeof(uint32_t)*in_struct->swapchainCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:14839:9: [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 *)pResults, (void *)in_struct->pResults, sizeof(VkResult)*in_struct->swapchainCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:14876:9: [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 *)pImageIndices, (void *)copy_src.pImageIndices, sizeof(uint32_t)*copy_src.swapchainCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:14880:9: [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 *)pResults, (void *)copy_src.pResults, sizeof(VkResult)*copy_src.swapchainCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:14921:9: [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 *)pImageIndices, (void *)copy_src.pImageIndices, sizeof(uint32_t)*copy_src.swapchainCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:14925:9: [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 *)pResults, (void *)copy_src.pResults, sizeof(VkResult)*copy_src.swapchainCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:14969:9: [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 *)pImageIndices, (void *)in_struct->pImageIndices, sizeof(uint32_t)*in_struct->swapchainCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:14973:9: [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 *)pResults, (void *)in_struct->pResults, sizeof(VkResult)*in_struct->swapchainCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:15001:9: [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 *)pImageIndices, (void *)copy_src->pImageIndices, sizeof(uint32_t)*copy_src->swapchainCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:15005:9: [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 *)pResults, (void *)copy_src->pResults, sizeof(VkResult)*copy_src->swapchainCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:15270:9: [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 *)pDeviceMasks, (void *)in_struct->pDeviceMasks, sizeof(uint32_t)*in_struct->swapchainCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:15289:9: [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 *)pDeviceMasks, (void *)copy_src.pDeviceMasks, sizeof(uint32_t)*copy_src.swapchainCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:15309:9: [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 *)pDeviceMasks, (void *)copy_src.pDeviceMasks, sizeof(uint32_t)*copy_src.swapchainCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:15332:9: [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 *)pDeviceMasks, (void *)in_struct->pDeviceMasks, sizeof(uint32_t)*in_struct->swapchainCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:15345:9: [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 *)pDeviceMasks, (void *)copy_src->pDeviceMasks, sizeof(uint32_t)*copy_src->swapchainCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:16144:9: [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 *)pAcquireKeys, (void *)in_struct->pAcquireKeys, sizeof(uint64_t)*in_struct->acquireCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:16148:9: [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 *)pAcquireTimeouts, (void *)in_struct->pAcquireTimeouts, sizeof(uint32_t)*in_struct->acquireCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:16158:9: [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 *)pReleaseKeys, (void *)in_struct->pReleaseKeys, sizeof(uint64_t)*in_struct->releaseCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:16191:9: [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 *)pAcquireKeys, (void *)copy_src.pAcquireKeys, sizeof(uint64_t)*copy_src.acquireCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:16195:9: [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 *)pAcquireTimeouts, (void *)copy_src.pAcquireTimeouts, sizeof(uint32_t)*copy_src.acquireCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:16205:9: [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 *)pReleaseKeys, (void *)copy_src.pReleaseKeys, sizeof(uint64_t)*copy_src.releaseCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:16243:9: [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 *)pAcquireKeys, (void *)copy_src.pAcquireKeys, sizeof(uint64_t)*copy_src.acquireCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:16247:9: [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 *)pAcquireTimeouts, (void *)copy_src.pAcquireTimeouts, sizeof(uint32_t)*copy_src.acquireCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:16257:9: [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 *)pReleaseKeys, (void *)copy_src.pReleaseKeys, sizeof(uint64_t)*copy_src.releaseCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:16298:9: [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 *)pAcquireKeys, (void *)in_struct->pAcquireKeys, sizeof(uint64_t)*in_struct->acquireCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:16302:9: [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 *)pAcquireTimeouts, (void *)in_struct->pAcquireTimeouts, sizeof(uint32_t)*in_struct->acquireCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:16312:9: [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 *)pReleaseKeys, (void *)in_struct->pReleaseKeys, sizeof(uint64_t)*in_struct->releaseCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:16335:9: [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 *)pAcquireKeys, (void *)copy_src->pAcquireKeys, sizeof(uint64_t)*copy_src->acquireCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:16339:9: [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 *)pAcquireTimeouts, (void *)copy_src->pAcquireTimeouts, sizeof(uint32_t)*copy_src->acquireCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:16349:9: [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 *)pReleaseKeys, (void *)copy_src->pReleaseKeys, sizeof(uint64_t)*copy_src->releaseCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:16531:9: [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 *)pWaitSemaphoreValues, (void *)in_struct->pWaitSemaphoreValues, sizeof(uint64_t)*in_struct->waitSemaphoreValuesCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:16535:9: [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 *)pSignalSemaphoreValues, (void *)in_struct->pSignalSemaphoreValues, sizeof(uint64_t)*in_struct->signalSemaphoreValuesCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:16556:9: [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 *)pWaitSemaphoreValues, (void *)copy_src.pWaitSemaphoreValues, sizeof(uint64_t)*copy_src.waitSemaphoreValuesCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:16560:9: [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 *)pSignalSemaphoreValues, (void *)copy_src.pSignalSemaphoreValues, sizeof(uint64_t)*copy_src.signalSemaphoreValuesCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:16583:9: [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 *)pWaitSemaphoreValues, (void *)copy_src.pWaitSemaphoreValues, sizeof(uint64_t)*copy_src.waitSemaphoreValuesCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:16587:9: [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 *)pSignalSemaphoreValues, (void *)copy_src.pSignalSemaphoreValues, sizeof(uint64_t)*copy_src.signalSemaphoreValuesCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:16613:9: [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 *)pWaitSemaphoreValues, (void *)in_struct->pWaitSemaphoreValues, sizeof(uint64_t)*in_struct->waitSemaphoreValuesCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:16617:9: [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 *)pSignalSemaphoreValues, (void *)in_struct->pSignalSemaphoreValues, sizeof(uint64_t)*in_struct->signalSemaphoreValuesCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:16631:9: [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 *)pWaitSemaphoreValues, (void *)copy_src->pWaitSemaphoreValues, sizeof(uint64_t)*copy_src->waitSemaphoreValuesCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:16635:9: [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 *)pSignalSemaphoreValues, (void *)copy_src->pSignalSemaphoreValues, sizeof(uint64_t)*copy_src->signalSemaphoreValuesCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:16888:9: [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 *)pRectangles, (void *)in_struct->pRectangles, sizeof(VkRectLayerKHR)*in_struct->rectangleCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:16902:9: [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 *)pRectangles, (void *)copy_src.pRectangles, sizeof(VkRectLayerKHR)*copy_src.rectangleCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:16917:9: [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 *)pRectangles, (void *)copy_src.pRectangles, sizeof(VkRectLayerKHR)*copy_src.rectangleCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:16935:9: [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 *)pRectangles, (void *)in_struct->pRectangles, sizeof(VkRectLayerKHR)*in_struct->rectangleCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:16945:9: [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 *)pRectangles, (void *)copy_src->pRectangles, sizeof(VkRectLayerKHR)*copy_src->rectangleCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:17743:9: [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 *)pCounterIndices, (void *)in_struct->pCounterIndices, sizeof(uint32_t)*in_struct->counterIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:17762:9: [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 *)pCounterIndices, (void *)copy_src.pCounterIndices, sizeof(uint32_t)*copy_src.counterIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:17782:9: [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 *)pCounterIndices, (void *)copy_src.pCounterIndices, sizeof(uint32_t)*copy_src.counterIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:17805:9: [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 *)pCounterIndices, (void *)in_struct->pCounterIndices, sizeof(uint32_t)*in_struct->counterIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:17818:9: [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 *)pCounterIndices, (void *)copy_src->pCounterIndices, sizeof(uint32_t)*copy_src->counterIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:21549:9: [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 *)pAcquireKeys, (void *)in_struct->pAcquireKeys, sizeof(uint64_t)*in_struct->acquireCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:21553:9: [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 *)pAcquireTimeoutMilliseconds, (void *)in_struct->pAcquireTimeoutMilliseconds, sizeof(uint32_t)*in_struct->acquireCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:21563:9: [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 *)pReleaseKeys, (void *)in_struct->pReleaseKeys, sizeof(uint64_t)*in_struct->releaseCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:21596:9: [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 *)pAcquireKeys, (void *)copy_src.pAcquireKeys, sizeof(uint64_t)*copy_src.acquireCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:21600:9: [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 *)pAcquireTimeoutMilliseconds, (void *)copy_src.pAcquireTimeoutMilliseconds, sizeof(uint32_t)*copy_src.acquireCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:21610:9: [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 *)pReleaseKeys, (void *)copy_src.pReleaseKeys, sizeof(uint64_t)*copy_src.releaseCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:21648:9: [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 *)pAcquireKeys, (void *)copy_src.pAcquireKeys, sizeof(uint64_t)*copy_src.acquireCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:21652:9: [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 *)pAcquireTimeoutMilliseconds, (void *)copy_src.pAcquireTimeoutMilliseconds, sizeof(uint32_t)*copy_src.acquireCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:21662:9: [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 *)pReleaseKeys, (void *)copy_src.pReleaseKeys, sizeof(uint64_t)*copy_src.releaseCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:21703:9: [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 *)pAcquireKeys, (void *)in_struct->pAcquireKeys, sizeof(uint64_t)*in_struct->acquireCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:21707:9: [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 *)pAcquireTimeoutMilliseconds, (void *)in_struct->pAcquireTimeoutMilliseconds, sizeof(uint32_t)*in_struct->acquireCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:21717:9: [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 *)pReleaseKeys, (void *)in_struct->pReleaseKeys, sizeof(uint64_t)*in_struct->releaseCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:21740:9: [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 *)pAcquireKeys, (void *)copy_src->pAcquireKeys, sizeof(uint64_t)*copy_src->acquireCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:21744:9: [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 *)pAcquireTimeoutMilliseconds, (void *)copy_src->pAcquireTimeoutMilliseconds, sizeof(uint32_t)*copy_src->acquireCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:21754:9: [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 *)pReleaseKeys, (void *)copy_src->pReleaseKeys, sizeof(uint64_t)*copy_src->releaseCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:21768:9: [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 *)pDisabledValidationChecks, (void *)in_struct->pDisabledValidationChecks, sizeof(VkValidationCheckEXT)*in_struct->disabledValidationCheckCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:21786:9: [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 *)pDisabledValidationChecks, (void *)copy_src.pDisabledValidationChecks, sizeof(VkValidationCheckEXT)*copy_src.disabledValidationCheckCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:21805:9: [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 *)pDisabledValidationChecks, (void *)copy_src.pDisabledValidationChecks, sizeof(VkValidationCheckEXT)*copy_src.disabledValidationCheckCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:21827:9: [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 *)pDisabledValidationChecks, (void *)in_struct->pDisabledValidationChecks, sizeof(VkValidationCheckEXT)*in_struct->disabledValidationCheckCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:21839:9: [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 *)pDisabledValidationChecks, (void *)copy_src->pDisabledValidationChecks, sizeof(VkValidationCheckEXT)*copy_src->disabledValidationCheckCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:22248:9: [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 *)pViewportWScalings, (void *)in_struct->pViewportWScalings, sizeof(VkViewportWScalingNV)*in_struct->viewportCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:22267:9: [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 *)pViewportWScalings, (void *)copy_src.pViewportWScalings, sizeof(VkViewportWScalingNV)*copy_src.viewportCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:22287:9: [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 *)pViewportWScalings, (void *)copy_src.pViewportWScalings, sizeof(VkViewportWScalingNV)*copy_src.viewportCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:22310:9: [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 *)pViewportWScalings, (void *)in_struct->pViewportWScalings, sizeof(VkViewportWScalingNV)*in_struct->viewportCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:22323:9: [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 *)pViewportWScalings, (void *)copy_src->pViewportWScalings, sizeof(VkViewportWScalingNV)*copy_src->viewportCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:22650:9: [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 *)pTimes, (void *)in_struct->pTimes, sizeof(VkPresentTimeGOOGLE)*in_struct->swapchainCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:22668:9: [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 *)pTimes, (void *)copy_src.pTimes, sizeof(VkPresentTimeGOOGLE)*copy_src.swapchainCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:22687:9: [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 *)pTimes, (void *)copy_src.pTimes, sizeof(VkPresentTimeGOOGLE)*copy_src.swapchainCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:22709:9: [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 *)pTimes, (void *)in_struct->pTimes, sizeof(VkPresentTimeGOOGLE)*in_struct->swapchainCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:22721:9: [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 *)pTimes, (void *)copy_src->pTimes, sizeof(VkPresentTimeGOOGLE)*copy_src->swapchainCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:22787:9: [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 *)pViewportSwizzles, (void *)in_struct->pViewportSwizzles, sizeof(VkViewportSwizzleNV)*in_struct->viewportCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:22806:9: [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 *)pViewportSwizzles, (void *)copy_src.pViewportSwizzles, sizeof(VkViewportSwizzleNV)*copy_src.viewportCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:22826:9: [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 *)pViewportSwizzles, (void *)copy_src.pViewportSwizzles, sizeof(VkViewportSwizzleNV)*copy_src.viewportCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:22849:9: [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 *)pViewportSwizzles, (void *)in_struct->pViewportSwizzles, sizeof(VkViewportSwizzleNV)*in_struct->viewportCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:22862:9: [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 *)pViewportSwizzles, (void *)copy_src->pViewportSwizzles, sizeof(VkViewportSwizzleNV)*copy_src->viewportCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:22929:9: [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 *)pDiscardRectangles, (void *)in_struct->pDiscardRectangles, sizeof(VkRect2D)*in_struct->discardRectangleCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:22949:9: [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 *)pDiscardRectangles, (void *)copy_src.pDiscardRectangles, sizeof(VkRect2D)*copy_src.discardRectangleCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:22970:9: [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 *)pDiscardRectangles, (void *)copy_src.pDiscardRectangles, sizeof(VkRect2D)*copy_src.discardRectangleCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:22994:9: [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 *)pDiscardRectangles, (void *)in_struct->pDiscardRectangles, sizeof(VkRect2D)*in_struct->discardRectangleCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:23008:9: [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 *)pDiscardRectangles, (void *)copy_src->pDiscardRectangles, sizeof(VkRect2D)*copy_src->discardRectangleCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:24498:9: [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 *)pSampleLocations, (void *)in_struct->pSampleLocations, sizeof(VkSampleLocationEXT)*in_struct->sampleLocationsCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:24518:9: [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 *)pSampleLocations, (void *)copy_src.pSampleLocations, sizeof(VkSampleLocationEXT)*copy_src.sampleLocationsCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:24539:9: [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 *)pSampleLocations, (void *)copy_src.pSampleLocations, sizeof(VkSampleLocationEXT)*copy_src.sampleLocationsCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:24563:9: [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 *)pSampleLocations, (void *)in_struct->pSampleLocations, sizeof(VkSampleLocationEXT)*in_struct->sampleLocationsCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:24577:9: [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 *)pSampleLocations, (void *)copy_src->pSampleLocations, sizeof(VkSampleLocationEXT)*copy_src->sampleLocationsCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:24591:9: [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 *)pAttachmentInitialSampleLocations, (void *)in_struct->pAttachmentInitialSampleLocations, sizeof(VkAttachmentSampleLocationsEXT)*in_struct->attachmentInitialSampleLocationsCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:24595:9: [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 *)pPostSubpassSampleLocations, (void *)in_struct->pPostSubpassSampleLocations, sizeof(VkSubpassSampleLocationsEXT)*in_struct->postSubpassSampleLocationsCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:24616:9: [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 *)pAttachmentInitialSampleLocations, (void *)copy_src.pAttachmentInitialSampleLocations, sizeof(VkAttachmentSampleLocationsEXT)*copy_src.attachmentInitialSampleLocationsCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:24620:9: [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 *)pPostSubpassSampleLocations, (void *)copy_src.pPostSubpassSampleLocations, sizeof(VkSubpassSampleLocationsEXT)*copy_src.postSubpassSampleLocationsCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:24643:9: [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 *)pAttachmentInitialSampleLocations, (void *)copy_src.pAttachmentInitialSampleLocations, sizeof(VkAttachmentSampleLocationsEXT)*copy_src.attachmentInitialSampleLocationsCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:24647:9: [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 *)pPostSubpassSampleLocations, (void *)copy_src.pPostSubpassSampleLocations, sizeof(VkSubpassSampleLocationsEXT)*copy_src.postSubpassSampleLocationsCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:24673:9: [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 *)pAttachmentInitialSampleLocations, (void *)in_struct->pAttachmentInitialSampleLocations, sizeof(VkAttachmentSampleLocationsEXT)*in_struct->attachmentInitialSampleLocationsCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:24677:9: [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 *)pPostSubpassSampleLocations, (void *)in_struct->pPostSubpassSampleLocations, sizeof(VkSubpassSampleLocationsEXT)*in_struct->postSubpassSampleLocationsCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:24691:9: [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 *)pAttachmentInitialSampleLocations, (void *)copy_src->pAttachmentInitialSampleLocations, sizeof(VkAttachmentSampleLocationsEXT)*copy_src->attachmentInitialSampleLocationsCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:24695:9: [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 *)pPostSubpassSampleLocations, (void *)copy_src->pPostSubpassSampleLocations, sizeof(VkSubpassSampleLocationsEXT)*copy_src->postSubpassSampleLocationsCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:25161:9: [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 *)pCoverageModulationTable, (void *)in_struct->pCoverageModulationTable, sizeof(float)*in_struct->coverageModulationTableCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:25182:9: [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 *)pCoverageModulationTable, (void *)copy_src.pCoverageModulationTable, sizeof(float)*copy_src.coverageModulationTableCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:25204:9: [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 *)pCoverageModulationTable, (void *)copy_src.pCoverageModulationTable, sizeof(float)*copy_src.coverageModulationTableCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:25229:9: [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 *)pCoverageModulationTable, (void *)in_struct->pCoverageModulationTable, sizeof(float)*in_struct->coverageModulationTableCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:25244:9: [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 *)pCoverageModulationTable, (void *)copy_src->pCoverageModulationTable, sizeof(float)*copy_src->coverageModulationTableCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:25367:9: [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 *)pDrmFormatModifierProperties, (void *)in_struct->pDrmFormatModifierProperties, sizeof(VkDrmFormatModifierPropertiesEXT)*in_struct->drmFormatModifierCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:25385:9: [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 *)pDrmFormatModifierProperties, (void *)copy_src.pDrmFormatModifierProperties, sizeof(VkDrmFormatModifierPropertiesEXT)*copy_src.drmFormatModifierCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:25404:9: [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 *)pDrmFormatModifierProperties, (void *)copy_src.pDrmFormatModifierProperties, sizeof(VkDrmFormatModifierPropertiesEXT)*copy_src.drmFormatModifierCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:25426:9: [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 *)pDrmFormatModifierProperties, (void *)in_struct->pDrmFormatModifierProperties, sizeof(VkDrmFormatModifierPropertiesEXT)*in_struct->drmFormatModifierCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:25438:9: [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 *)pDrmFormatModifierProperties, (void *)copy_src->pDrmFormatModifierProperties, sizeof(VkDrmFormatModifierPropertiesEXT)*copy_src->drmFormatModifierCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:25452:9: [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 *)pQueueFamilyIndices, (void *)in_struct->pQueueFamilyIndices, sizeof(uint32_t)*in_struct->queueFamilyIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:25472:9: [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 *)pQueueFamilyIndices, (void *)copy_src.pQueueFamilyIndices, sizeof(uint32_t)*copy_src.queueFamilyIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:25493:9: [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 *)pQueueFamilyIndices, (void *)copy_src.pQueueFamilyIndices, sizeof(uint32_t)*copy_src.queueFamilyIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:25517:9: [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 *)pQueueFamilyIndices, (void *)in_struct->pQueueFamilyIndices, sizeof(uint32_t)*in_struct->queueFamilyIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:25531:9: [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 *)pQueueFamilyIndices, (void *)copy_src->pQueueFamilyIndices, sizeof(uint32_t)*copy_src->queueFamilyIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:25543:9: [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 *)pDrmFormatModifiers, (void *)in_struct->pDrmFormatModifiers, sizeof(uint64_t)*in_struct->drmFormatModifierCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:25561:9: [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 *)pDrmFormatModifiers, (void *)copy_src.pDrmFormatModifiers, sizeof(uint64_t)*copy_src.drmFormatModifierCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:25580:9: [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 *)pDrmFormatModifiers, (void *)copy_src.pDrmFormatModifiers, sizeof(uint64_t)*copy_src.drmFormatModifierCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:25602:9: [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 *)pDrmFormatModifiers, (void *)in_struct->pDrmFormatModifiers, sizeof(uint64_t)*in_struct->drmFormatModifierCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:25614:9: [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 *)pDrmFormatModifiers, (void *)copy_src->pDrmFormatModifiers, sizeof(uint64_t)*copy_src->drmFormatModifierCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:25627:9: [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 *)pPlaneLayouts, (void *)in_struct->pPlaneLayouts, sizeof(VkSubresourceLayout)*in_struct->drmFormatModifierPlaneCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:25646:9: [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 *)pPlaneLayouts, (void *)copy_src.pPlaneLayouts, sizeof(VkSubresourceLayout)*copy_src.drmFormatModifierPlaneCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:25666:9: [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 *)pPlaneLayouts, (void *)copy_src.pPlaneLayouts, sizeof(VkSubresourceLayout)*copy_src.drmFormatModifierPlaneCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:25689:9: [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 *)pPlaneLayouts, (void *)in_struct->pPlaneLayouts, sizeof(VkSubresourceLayout)*in_struct->drmFormatModifierPlaneCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:25702:9: [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 *)pPlaneLayouts, (void *)copy_src->pPlaneLayouts, sizeof(VkSubresourceLayout)*copy_src->drmFormatModifierPlaneCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:25882:9: [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 *)pShadingRatePaletteEntries, (void *)in_struct->pShadingRatePaletteEntries, sizeof(VkShadingRatePaletteEntryNV)*in_struct->shadingRatePaletteEntryCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:25896:9: [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 *)pShadingRatePaletteEntries, (void *)copy_src.pShadingRatePaletteEntries, sizeof(VkShadingRatePaletteEntryNV)*copy_src.shadingRatePaletteEntryCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:25911:9: [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 *)pShadingRatePaletteEntries, (void *)copy_src.pShadingRatePaletteEntries, sizeof(VkShadingRatePaletteEntryNV)*copy_src.shadingRatePaletteEntryCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:25929:9: [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 *)pShadingRatePaletteEntries, (void *)in_struct->pShadingRatePaletteEntries, sizeof(VkShadingRatePaletteEntryNV)*in_struct->shadingRatePaletteEntryCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:25939:9: [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 *)pShadingRatePaletteEntries, (void *)copy_src->pShadingRatePaletteEntries, sizeof(VkShadingRatePaletteEntryNV)*copy_src->shadingRatePaletteEntryCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:26170:9: [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 *)pSampleLocations, (void *)in_struct->pSampleLocations, sizeof(VkCoarseSampleLocationNV)*in_struct->sampleLocationCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:26186:9: [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 *)pSampleLocations, (void *)copy_src.pSampleLocations, sizeof(VkCoarseSampleLocationNV)*copy_src.sampleLocationCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:26203:9: [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 *)pSampleLocations, (void *)copy_src.pSampleLocations, sizeof(VkCoarseSampleLocationNV)*copy_src.sampleLocationCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:26223:9: [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 *)pSampleLocations, (void *)in_struct->pSampleLocations, sizeof(VkCoarseSampleLocationNV)*in_struct->sampleLocationCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:26235:9: [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 *)pSampleLocations, (void *)copy_src->pSampleLocations, sizeof(VkCoarseSampleLocationNV)*copy_src->sampleLocationCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:26984:9: [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 *)pDeviceIndices, (void *)in_struct->pDeviceIndices, sizeof(uint32_t)*in_struct->deviceIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:27005:9: [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 *)pDeviceIndices, (void *)copy_src.pDeviceIndices, sizeof(uint32_t)*copy_src.deviceIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:27027:9: [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 *)pDeviceIndices, (void *)copy_src.pDeviceIndices, sizeof(uint32_t)*copy_src.deviceIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:27052:9: [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 *)pDeviceIndices, (void *)in_struct->pDeviceIndices, sizeof(uint32_t)*in_struct->deviceIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:27067:9: [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 *)pDeviceIndices, (void *)copy_src->pDeviceIndices, sizeof(uint32_t)*copy_src->deviceIndexCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:28083:9: [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 *)pVertexBindingDivisors, (void *)in_struct->pVertexBindingDivisors, sizeof(VkVertexInputBindingDivisorDescriptionEXT)*in_struct->vertexBindingDivisorCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:28101:9: [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 *)pVertexBindingDivisors, (void *)copy_src.pVertexBindingDivisors, sizeof(VkVertexInputBindingDivisorDescriptionEXT)*copy_src.vertexBindingDivisorCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:28120:9: [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 *)pVertexBindingDivisors, (void *)copy_src.pVertexBindingDivisors, sizeof(VkVertexInputBindingDivisorDescriptionEXT)*copy_src.vertexBindingDivisorCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:28142:9: [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 *)pVertexBindingDivisors, (void *)in_struct->pVertexBindingDivisors, sizeof(VkVertexInputBindingDivisorDescriptionEXT)*in_struct->vertexBindingDivisorCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:28154:9: [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 *)pVertexBindingDivisors, (void *)copy_src->pVertexBindingDivisors, sizeof(VkVertexInputBindingDivisorDescriptionEXT)*copy_src->vertexBindingDivisorCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:28285:9: [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 *)pPipelineStageCreationFeedbacks, (void *)in_struct->pPipelineStageCreationFeedbacks, sizeof(VkPipelineCreationFeedbackEXT)*in_struct->pipelineStageCreationFeedbackCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:28308:9: [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 *)pPipelineStageCreationFeedbacks, (void *)copy_src.pPipelineStageCreationFeedbacks, sizeof(VkPipelineCreationFeedbackEXT)*copy_src.pipelineStageCreationFeedbackCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:28333:9: [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 *)pPipelineStageCreationFeedbacks, (void *)copy_src.pPipelineStageCreationFeedbacks, sizeof(VkPipelineCreationFeedbackEXT)*copy_src.pipelineStageCreationFeedbackCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:28361:9: [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 *)pPipelineStageCreationFeedbacks, (void *)in_struct->pPipelineStageCreationFeedbacks, sizeof(VkPipelineCreationFeedbackEXT)*in_struct->pipelineStageCreationFeedbackCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:28377:9: [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 *)pPipelineStageCreationFeedbacks, (void *)copy_src->pPipelineStageCreationFeedbacks, sizeof(VkPipelineCreationFeedbackEXT)*copy_src->pipelineStageCreationFeedbackCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:28744:9: [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 *)pExclusiveScissors, (void *)in_struct->pExclusiveScissors, sizeof(VkRect2D)*in_struct->exclusiveScissorCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:28762:9: [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 *)pExclusiveScissors, (void *)copy_src.pExclusiveScissors, sizeof(VkRect2D)*copy_src.exclusiveScissorCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:28781:9: [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 *)pExclusiveScissors, (void *)copy_src.pExclusiveScissors, sizeof(VkRect2D)*copy_src.exclusiveScissorCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:28803:9: [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 *)pExclusiveScissors, (void *)in_struct->pExclusiveScissors, sizeof(VkRect2D)*in_struct->exclusiveScissorCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:28815:9: [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 *)pExclusiveScissors, (void *)copy_src->pExclusiveScissors, sizeof(VkRect2D)*copy_src->exclusiveScissorCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:30603:9: [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 *)pEnabledValidationFeatures, (void *)in_struct->pEnabledValidationFeatures, sizeof(VkValidationFeatureEnableEXT)*in_struct->enabledValidationFeatureCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:30607:9: [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 *)pDisabledValidationFeatures, (void *)in_struct->pDisabledValidationFeatures, sizeof(VkValidationFeatureDisableEXT)*in_struct->disabledValidationFeatureCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:30628:9: [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 *)pEnabledValidationFeatures, (void *)copy_src.pEnabledValidationFeatures, sizeof(VkValidationFeatureEnableEXT)*copy_src.enabledValidationFeatureCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:30632:9: [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 *)pDisabledValidationFeatures, (void *)copy_src.pDisabledValidationFeatures, sizeof(VkValidationFeatureDisableEXT)*copy_src.disabledValidationFeatureCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:30655:9: [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 *)pEnabledValidationFeatures, (void *)copy_src.pEnabledValidationFeatures, sizeof(VkValidationFeatureEnableEXT)*copy_src.enabledValidationFeatureCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:30659:9: [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 *)pDisabledValidationFeatures, (void *)copy_src.pDisabledValidationFeatures, sizeof(VkValidationFeatureDisableEXT)*copy_src.disabledValidationFeatureCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:30685:9: [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 *)pEnabledValidationFeatures, (void *)in_struct->pEnabledValidationFeatures, sizeof(VkValidationFeatureEnableEXT)*in_struct->enabledValidationFeatureCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:30689:9: [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 *)pDisabledValidationFeatures, (void *)in_struct->pDisabledValidationFeatures, sizeof(VkValidationFeatureDisableEXT)*in_struct->disabledValidationFeatureCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:30703:9: [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 *)pEnabledValidationFeatures, (void *)copy_src->pEnabledValidationFeatures, sizeof(VkValidationFeatureEnableEXT)*copy_src->enabledValidationFeatureCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:30707:9: [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 *)pDisabledValidationFeatures, (void *)copy_src->pDisabledValidationFeatures, sizeof(VkValidationFeatureDisableEXT)*copy_src->disabledValidationFeatureCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:32331:9: [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 *)pIndexTypes, (void *)in_struct->pIndexTypes, sizeof(VkIndexType)*in_struct->indexTypeCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:32335:9: [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 *)pIndexTypeValues, (void *)in_struct->pIndexTypeValues, sizeof(uint32_t)*in_struct->indexTypeCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:32365:9: [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 *)pIndexTypes, (void *)copy_src.pIndexTypes, sizeof(VkIndexType)*copy_src.indexTypeCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:32369:9: [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 *)pIndexTypeValues, (void *)copy_src.pIndexTypeValues, sizeof(uint32_t)*copy_src.indexTypeCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:32401:9: [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 *)pIndexTypes, (void *)copy_src.pIndexTypes, sizeof(VkIndexType)*copy_src.indexTypeCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:32405:9: [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 *)pIndexTypeValues, (void *)copy_src.pIndexTypeValues, sizeof(uint32_t)*copy_src.indexTypeCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:32440:9: [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 *)pIndexTypes, (void *)in_struct->pIndexTypes, sizeof(VkIndexType)*in_struct->indexTypeCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:32444:9: [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 *)pIndexTypeValues, (void *)in_struct->pIndexTypeValues, sizeof(uint32_t)*in_struct->indexTypeCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:32467:9: [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 *)pIndexTypes, (void *)copy_src->pIndexTypes, sizeof(VkIndexType)*copy_src->indexTypeCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:32471:9: [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 *)pIndexTypeValues, (void *)copy_src->pIndexTypeValues, sizeof(uint32_t)*copy_src->indexTypeCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:32493:9: [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 *)pStreamStrides, (void *)in_struct->pStreamStrides, sizeof(uint32_t)*in_struct->streamCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:32522:9: [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 *)pStreamStrides, (void *)copy_src.pStreamStrides, sizeof(uint32_t)*copy_src.streamCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:32553:9: [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 *)pStreamStrides, (void *)copy_src.pStreamStrides, sizeof(uint32_t)*copy_src.streamCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:32587:9: [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 *)pStreamStrides, (void *)in_struct->pStreamStrides, sizeof(uint32_t)*in_struct->streamCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:32609:9: [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 *)pStreamStrides, (void *)copy_src->pStreamStrides, sizeof(uint32_t)*copy_src->streamCount); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:35423:9: [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 *)versionData, (void *)in_struct->versionData, sizeof(uint8_t)*2*VK_UUID_SIZE); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:35440:9: [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 *)versionData, (void *)copy_src.versionData, sizeof(uint8_t)*2*VK_UUID_SIZE); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:35458:9: [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 *)versionData, (void *)copy_src.versionData, sizeof(uint8_t)*2*VK_UUID_SIZE); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:35479:9: [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 *)versionData, (void *)in_struct->versionData, sizeof(uint8_t)*2*VK_UUID_SIZE); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:35490:9: [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 *)versionData, (void *)copy_src->versionData, sizeof(uint8_t)*2*VK_UUID_SIZE); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:35714:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(struct_copy, pNext, sizeof(VkLayerInstanceCreateInfo)); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:35723:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(struct_copy, pNext, sizeof(VkLayerDeviceCreateInfo)); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:36482:21: [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(safe_pNext, header, item.second); data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.h:2248:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char driverName[VK_MAX_DRIVER_NAME_SIZE]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.h:2249:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char driverInfo[VK_MAX_DRIVER_INFO_SIZE]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.h:2486:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char driverName[VK_MAX_DRIVER_NAME_SIZE]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.h:2487:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char driverInfo[VK_MAX_DRIVER_INFO_SIZE]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.h:3904:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[VK_MAX_DESCRIPTION_SIZE]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.h:3905:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char category[VK_MAX_DESCRIPTION_SIZE]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.h:3906:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char description[VK_MAX_DESCRIPTION_SIZE]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.h:4217:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[VK_MAX_DESCRIPTION_SIZE]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.h:4218:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char description[VK_MAX_DESCRIPTION_SIZE]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.h:4250:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[VK_MAX_DESCRIPTION_SIZE]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.h:4251:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char description[VK_MAX_DESCRIPTION_SIZE]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.h:4268:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[VK_MAX_DESCRIPTION_SIZE]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.h:4269:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char description[VK_MAX_DESCRIPTION_SIZE]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.h:7064:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[VK_MAX_EXTENSION_NAME_SIZE]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.h:7065:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char version[VK_MAX_EXTENSION_NAME_SIZE]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.h:7067:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char description[VK_MAX_DESCRIPTION_SIZE]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.h:7068:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char layer[VK_MAX_EXTENSION_NAME_SIZE]; data/vulkan-validationlayers-1.2.154.0/layers/gpu_validation.cpp:376:18: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(mapped_vbo_buffer, (uint8_t *)vertices.data(), sizeof(float) * vertices.size()); data/vulkan-validationlayers-1.2.154.0/layers/gpu_validation.cpp:406:18: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(mapped_ibo_buffer, (uint8_t *)indicies.data(), sizeof(uint32_t) * indicies.size()); data/vulkan-validationlayers-1.2.154.0/layers/parameter_validation_utils.cpp:219:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&stateless_validation->device_limits, &device_properties.limits, sizeof(VkPhysicalDeviceLimits)); data/vulkan-validationlayers-1.2.154.0/layers/shader_validation.cpp:2440:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf, (uint8_t *)spec->pData + spec->pMapEntries[spec_id].offset, spec->pMapEntries[spec_id].size); data/vulkan-validationlayers-1.2.154.0/layers/shader_validation.cpp:3159:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(entry.first->second.data(), specialization_data + map_entry.offset, map_entry.size); data/vulkan-validationlayers-1.2.154.0/layers/shader_validation.h:308:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char padded_sha1_str[2 * VK_UUID_SIZE + 1] = {}; // 2 hex digits == 1 byte data/vulkan-validationlayers-1.2.154.0/layers/state_tracker.cpp:3883:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(push_constant_data.data() + offset, pValues, static_cast<std::size_t>(size)); data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_config.cpp:106:22: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). log_output = fopen(option, "w"); data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_config.cpp:233:13: [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 name[2048]; data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_config.cpp:296:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buff[512]; data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_config.cpp:332:9: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(msg_flags, "DEBUG"); data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_config.cpp:337:9: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(msg_flags, "INFO"); data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_config.cpp:342:9: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(msg_flags, "WARN"); data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_config.cpp:347:9: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(msg_flags, "PERF"); data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_config.cpp:352:9: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(msg_flags, "ERROR"); data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_config.cpp:361:9: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(msg_flags, "VERBOSE"); data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_config.cpp:366:9: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(msg_flags, "INFO"); data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_config.cpp:371:9: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(msg_flags, "WARN"); data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_config.cpp:376:9: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(msg_flags, "ERROR"); data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_config.cpp:385:9: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(msg_flags, "GEN"); data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_config.cpp:390:9: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(msg_flags, "SPEC"); data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_config.cpp:395:9: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(msg_flags, "PERF"); data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_extension_utils.cpp:40:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(pProperties, layer_extensions, copy_size * sizeof(VkExtensionProperties)); data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_extension_utils.cpp:59:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(pProperties, layer_properties, copy_size * sizeof(VkLayerProperties)); data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_logging.h:722:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char msg_flag_string[30]; data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_logging.h:745:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char msg_flag_string[30]; data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_logging.h:746:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[2048]; data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_logging.h:787:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char msg_severity[30]; data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_logging.h:788:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char msg_type[30]; data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_logging.h:820:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char msg_severity[30]; data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_logging.h:821:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char msg_type[30]; data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_settings_ext.h:131:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[VK_MAX_EXTENSION_NAME_SIZE]; data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_settings_ext.h:144:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[VK_MAX_EXTENSION_NAME_SIZE]; data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_settings_ext.h:146:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char description[VK_MAX_DESCRIPTION_SIZE]; data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_settings_ext.h:153:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char optionName[VK_MAX_EXTENSION_NAME_SIZE]; data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_settings_ext.h:154:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char description[VK_MAX_DESCRIPTION_SIZE]; data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_utils.h:411:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char padding[(-int(sizeof(ReadWriteLock))) & 63]; data/vulkan-validationlayers-1.2.154.0/layers/vk_loader_platform.h:293:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char errorMsg[164]; data/vulkan-validationlayers-1.2.154.0/layers/vk_loader_platform.h:304:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char errorMsg[120]; data/vulkan-validationlayers-1.2.154.0/layers/vk_mem_alloc.h:3980:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(m_pArray, src.m_pArray, m_Count * sizeof(T)); data/vulkan-validationlayers-1.2.154.0/layers/vk_mem_alloc.h:3996:17: [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(m_pArray, rhs.m_pArray, m_Count * sizeof(T)); data/vulkan-validationlayers-1.2.154.0/layers/vk_mem_alloc.h:4053:17: [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(newArray, m_pArray, m_Count * sizeof(T)); data/vulkan-validationlayers-1.2.154.0/layers/vk_mem_alloc.h:4079:17: [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(newArray, m_pArray, elementsToCopy * sizeof(T)); data/vulkan-validationlayers-1.2.154.0/layers/vk_mem_alloc.h:6519:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char m_PtrStr[17]; data/vulkan-validationlayers-1.2.154.0/layers/vk_mem_alloc.h:6846:9: [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(m_Data.data() + oldCount, pStr, strLen); data/vulkan-validationlayers-1.2.154.0/layers/vk_mem_alloc.h:6852:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[11]; data/vulkan-validationlayers-1.2.154.0/layers/vk_mem_alloc.h:6859:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[21]; data/vulkan-validationlayers-1.2.154.0/layers/vk_mem_alloc.h:6866:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[21]; data/vulkan-validationlayers-1.2.154.0/layers/vk_mem_alloc.h:7176:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(newStrDst, newStrSrc, newStrLen + 1); data/vulkan-validationlayers-1.2.154.0/layers/vk_mem_alloc.h:15674:9: [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(pChars, sb.GetData(), len); data/vulkan-validationlayers-1.2.154.0/layers/xxhash.c:106:76: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. static void* XXH_memcpy(void* dest, const void* src, size_t size) { return memcpy(dest,src,size); } data/vulkan-validationlayers-1.2.154.0/layers/xxhash.c:362:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dstState, srcState, sizeof(*dstState)); data/vulkan-validationlayers-1.2.154.0/layers/xxhash.c:373:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(statePtr, &state, sizeof(state)); data/vulkan-validationlayers-1.2.154.0/layers/xxhash.c:507:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dst, &hash, sizeof(*dst)); data/vulkan-validationlayers-1.2.154.0/layers/xxhash.c:732:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dstState, srcState, sizeof(*dstState)); data/vulkan-validationlayers-1.2.154.0/layers/xxhash.c:743:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(statePtr, &state, sizeof(state)); data/vulkan-validationlayers-1.2.154.0/layers/xxhash.c:880:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dst, &hash, sizeof(*dst)); data/vulkan-validationlayers-1.2.154.0/layers/xxhash.h:203:27: [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. typedef struct { unsigned char digest[4]; } XXH32_canonical_t; data/vulkan-validationlayers-1.2.154.0/layers/xxhash.h:238:27: [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. typedef struct { unsigned char digest[8]; } XXH64_canonical_t; data/vulkan-validationlayers-1.2.154.0/tests/layer_validation_tests.cpp:2121:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(mapped_vbo_buffer_data, (uint8_t *)vertices.data(), sizeof(float) * vertices.size()); data/vulkan-validationlayers-1.2.154.0/tests/layer_validation_tests.cpp:2125:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(mapped_ibo_buffer_data, (uint8_t *)indicies.data(), sizeof(uint32_t) * indicies.size()); data/vulkan-validationlayers-1.2.154.0/tests/layer_validation_tests.cpp:2262:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(mapped_aabb_buffer_data, (uint8_t *)aabbs.data(), static_cast<std::size_t>(aabb_buffer_size)); data/vulkan-validationlayers-1.2.154.0/tests/layer_validation_tests.cpp:2315:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(mapped_instance_buffer_data, (uint8_t *)instances.data(), static_cast<std::size_t>(instance_buffer_size)); data/vulkan-validationlayers-1.2.154.0/tests/layer_validation_tests.cpp:2945:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(mapped_shader_binding_table_data, shader_binding_table_data.data(), shader_binding_table_data.size()); data/vulkan-validationlayers-1.2.154.0/tests/layers/device_profile_api.cpp:74:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(orgLimits, &props.limits, sizeof(VkPhysicalDeviceLimits)); data/vulkan-validationlayers-1.2.154.0/tests/layers/device_profile_api.cpp:80:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&(phy_dev_data->phy_device_props.limits), newLimits, sizeof(VkPhysicalDeviceLimits)); data/vulkan-validationlayers-1.2.154.0/tests/layers/device_profile_api.cpp:96:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&(phy_dev_data->format_properties_map[format]), &newProperties, sizeof(VkFormatProperties)); data/vulkan-validationlayers-1.2.154.0/tests/layers/device_profile_api.cpp:114:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&(phy_dev_data->format_properties_map[format]), &(newProperties.formatProperties), sizeof(VkFormatProperties)); data/vulkan-validationlayers-1.2.154.0/tests/layers/device_profile_api.cpp:130:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&phy_dev_data->phy_device_features, &newFeatures, sizeof(VkPhysicalDeviceFeatures)); data/vulkan-validationlayers-1.2.154.0/tests/layers/device_profile_api.cpp:174:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(pProperties, &phy_dev_data->phy_device_props, sizeof(VkPhysicalDeviceProperties)); data/vulkan-validationlayers-1.2.154.0/tests/layers/device_profile_api.cpp:184:9: [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(pProperties, &phy_dev_data->format_properties_map[format], sizeof(VkFormatProperties)); data/vulkan-validationlayers-1.2.154.0/tests/layers/device_profile_api.cpp:197:9: [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 *)&(pProperties->formatProperties), &phy_dev_data->format_properties_map[format], sizeof(VkFormatProperties)); data/vulkan-validationlayers-1.2.154.0/tests/layers/device_profile_api.cpp:206:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(pFeatures, &phy_dev_data->phy_device_features, sizeof(VkPhysicalDeviceFeatures)); data/vulkan-validationlayers-1.2.154.0/tests/layers/device_profile_api.cpp:224:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dst_props, src_props, sizeof(T) * copy_count); data/vulkan-validationlayers-1.2.154.0/tests/test_environment.cpp:52:28: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). default_dev_ = atoi(argv[++i]); data/vulkan-validationlayers-1.2.154.0/tests/vklayertests_gpu.cpp:851:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(mapped_instance_buffer_data, (uint8_t *)&instance, static_cast<std::size_t>(instance_buffer_size)); data/vulkan-validationlayers-1.2.154.0/tests/vklayertests_gpu.cpp:949:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(mapped_instance_buffer_data, (uint8_t *)&instance, static_cast<std::size_t>(instance_buffer_size)); data/vulkan-validationlayers-1.2.154.0/tests/vklayertests_gpu.cpp:1071:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(mapped_instance_buffer_data, (uint8_t *)&instance, static_cast<std::size_t>(instance_buffer_size)); data/vulkan-validationlayers-1.2.154.0/tests/vklayertests_gpu.cpp:1160:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(mapped_instance_buffer_data, (uint8_t *)&instance, static_cast<std::size_t>(instance_buffer_size)); data/vulkan-validationlayers-1.2.154.0/tests/vklayertests_others.cpp:4155:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *extension_names[2] = {"VK_KHR_maintenance1", "VK_AMD_negative_viewport_height"}; data/vulkan-validationlayers-1.2.154.0/tests/vklayertests_others.cpp:6196:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char data_space4[4] = ""; data/vulkan-validationlayers-1.2.154.0/tests/vklayertests_others.cpp:6201:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char data_space8[8] = ""; data/vulkan-validationlayers-1.2.154.0/tests/vklayertests_others.cpp:6338:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(mapped_vbo_buffer_data, (uint8_t *)vertices.data(), sizeof(float) * vertices.size()); data/vulkan-validationlayers-1.2.154.0/tests/vklayertests_others.cpp:6342:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(mapped_ibo_buffer_data, (uint8_t *)indicies.data(), sizeof(uint32_t) * indicies.size()); data/vulkan-validationlayers-1.2.154.0/tests/vklayertests_others.cpp:6346:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(mapped_tbo_buffer_data, (uint8_t *)transforms.data(), sizeof(float) * transforms.size()); data/vulkan-validationlayers-1.2.154.0/tests/vklayertests_others.cpp:6350:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(mapped_aabbbo_buffer_data, (uint8_t *)aabbs.data(), sizeof(float) * aabbs.size()); data/vulkan-validationlayers-1.2.154.0/tests/vklayertests_pipeline_shader.cpp:1698:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char cs_text[128] = ""; data/vulkan-validationlayers-1.2.154.0/tests/vklayertests_pipeline_shader.cpp:1699:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(cs_text, "#version 450\nlayout(local_size_x = %d, local_size_y = %d, local_size_z = %d) in;\nvoid main() {}\n", data/vulkan-validationlayers-1.2.154.0/tests/vkpositivelayertests.cpp:1668:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(pipe.dsl_bindings_.data(), dslb, dslb_size * sizeof(VkDescriptorSetLayoutBinding)); data/vulkan-validationlayers-1.2.154.0/tests/vkpositivelayertests.cpp:5723:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(pipe.dsl_bindings_.data(), bindings.data(), bindings.size() * sizeof(VkDescriptorSetLayoutBinding)); data/vulkan-validationlayers-1.2.154.0/tests/vkpositivelayertests.cpp:5758:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(pipe.dsl_bindings_.data(), bindings.data(), bindings.size() * sizeof(VkDescriptorSetLayoutBinding)); data/vulkan-validationlayers-1.2.154.0/tests/vkpositivelayertests.cpp:5793:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(pipe.dsl_bindings_.data(), bindings.data(), bindings.size() * sizeof(VkDescriptorSetLayoutBinding)); data/vulkan-validationlayers-1.2.154.0/tests/vkrenderframework.cpp:1673:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(pData, data, static_cast<size_t>(allocationSize)); data/vulkan-validationlayers-1.2.154.0/tests/vktestframework.cpp:96:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *f = fopen(filename, mode); data/vulkan-validationlayers-1.2.154.0/tests/vktestframework.cpp:368:21: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int value = atoi(valueStr); data/vulkan-validationlayers-1.2.154.0/tests/vktestframework.cpp:594:10: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). in = fopen(fileName, "r"); data/vulkan-validationlayers-1.2.154.0/tests/vktestframework.cpp:636:9: [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(return_data[i], fdata + ptr_len, len); data/vulkan-validationlayers-1.2.154.0/tests/vktestframework.cpp:749:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *shaderStrings[1]; data/vulkan-validationlayers-1.2.154.0/layers/generated/vk_safe_struct.cpp:35699:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char* dest = new char[std::strlen(in_string) + 1]; data/vulkan-validationlayers-1.2.154.0/layers/layer_options.cpp:229:51: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t id_hash = XXH32(token.c_str(), strlen(token.c_str()), 8); // String data/vulkan-validationlayers-1.2.154.0/layers/parameter_name.h:99:30: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). last = current + strlen(IndexFormatSpecifier); data/vulkan-validationlayers-1.2.154.0/layers/shader_validation.h:309:14: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). std::strncpy(padded_sha1_str, sha1_str, 2 * VK_UUID_SIZE); data/vulkan-validationlayers-1.2.154.0/layers/stateless_validation.h:527:65: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (((strncmp(api_name, "vkCreateInstance", strlen(api_name)) != 0) || data/vulkan-validationlayers-1.2.154.0/layers/stateless_validation.h:529:63: [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). ((strncmp(api_name, "vkCreateDevice", strlen(api_name)) != 0) || data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_config.cpp:336:24: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. if (separator) strcat(msg_flags, ","); data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_config.cpp:341:24: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. if (separator) strcat(msg_flags, ","); data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_config.cpp:346:24: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. if (separator) strcat(msg_flags, ","); data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_config.cpp:351:24: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. if (separator) strcat(msg_flags, ","); data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_config.cpp:365:24: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. if (separator) strcat(msg_flags, ","); data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_config.cpp:370:24: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. if (separator) strcat(msg_flags, ","); data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_config.cpp:375:24: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. if (separator) strcat(msg_flags, ","); data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_config.cpp:389:24: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. if (separator) strcat(msg_flags, ","); data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_config.cpp:394:24: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. if (separator) strcat(msg_flags, ","); data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_logging.h:408:37: [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). location = XXH32(text_vuid, strlen(text_vuid), 8); data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_logging.h:655:50: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t message_id = XXH32(vuid_text.c_str(), strlen(vuid_text.c_str()), 8); data/vulkan-validationlayers-1.2.154.0/layers/vk_layer_utils.h:77:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return strlen(str); data/vulkan-validationlayers-1.2.154.0/layers/vk_mem_alloc.h:3181:12: [1] (free) memalign: On some systems (though not Linux-based systems) an attempt to free() results from memalign() may fail. This may, on a few systems, be exploitable. Also note that memalign() may not check that the boundary parameter is correct (CWE-676). Use posix_memalign instead (defined in POSIX's 1003.1d). Don't switch to valloc(); it is marked as obsolete in BSD 4.3, as legacy in SUSv2, and is no longer defined in SUSv3. In some cases, malloc()'s alignment may be sufficient. return memalign(alignment, size); data/vulkan-validationlayers-1.2.154.0/layers/vk_mem_alloc.h:6841:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t strLen = strlen(pStr); data/vulkan-validationlayers-1.2.154.0/layers/vk_mem_alloc.h:7015:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t strLen = strlen(pStr); data/vulkan-validationlayers-1.2.154.0/layers/vk_mem_alloc.h:7174:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t newStrLen = strlen(newStrSrc); data/vulkan-validationlayers-1.2.154.0/layers/vk_mem_alloc.h:7395:34: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t oldStrLen = strlen(oldStr); data/vulkan-validationlayers-1.2.154.0/layers/vk_mem_alloc.h:15687:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = strlen(pStatsString); data/vulkan-validationlayers-1.2.154.0/tests/vklayertests_others.cpp:37:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(filter_setting_val.name, "message_id_filter", sizeof(filter_setting_val.name)); data/vulkan-validationlayers-1.2.154.0/tests/vklayertests_others.cpp:59:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(custom_stype_setting_val.name, "custom_stype_list", sizeof(custom_stype_setting_val.name)); data/vulkan-validationlayers-1.2.154.0/tests/vklayertests_others.cpp:71:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(custom_stype_setting_val.name, "custom_stype_list", sizeof(custom_stype_setting_val.name)); data/vulkan-validationlayers-1.2.154.0/tests/vklayertests_others.cpp:92:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(limit_setting_val.name, "duplicate_message_limit", sizeof(limit_setting_val.name)); data/vulkan-validationlayers-1.2.154.0/tests/vktestframework.cpp:137:37: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strncmp(option, optionLine, strlen(option)) == 0) data/vulkan-validationlayers-1.2.154.0/tests/vktestframework.cpp:356:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). config = (char *)alloca(strlen(DefaultConfig) + 1); data/vulkan-validationlayers-1.2.154.0/tests/vktestframework.cpp:610:12: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (fgetc(in) != EOF) count++; data/vulkan-validationlayers-1.2.154.0/tests/vktestframework.cpp:855:68: [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). spv_result_t error = spvTextToBinaryWithOptions(context, pasm, strlen(pasm), options, &binary, &diagnostic); data/vulkan-validationlayers-1.2.154.0/tests/vktestframeworkandroid.cpp:132:44: [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). compiler.CompileGlslToSpv(pshader, strlen(pshader), MapShadercType(shader_type), "shader", options); data/vulkan-validationlayers-1.2.154.0/tests/vktestframeworkandroid.cpp:155:68: [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). spv_result_t error = spvTextToBinaryWithOptions(context, pasm, strlen(pasm), options, &binary, &diagnostic); ANALYSIS SUMMARY: Hits = 673 Lines analyzed = 302723 in approximately 9.11 seconds (33244 lines/second) Physical Source Lines of Code (SLOC) = 250071 Hits@level = [0] 985 [1] 34 [2] 577 [3] 8 [4] 54 [5] 0 Hits@level+ = [0+] 1658 [1+] 673 [2+] 639 [3+] 62 [4+] 54 [5+] 0 Hits/KSLOC@level+ = [0+] 6.63012 [1+] 2.69124 [2+] 2.55527 [3+] 0.24793 [4+] 0.215939 [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.