KhronosGroup / VK-GL-CTS

Khronos Vulkan, OpenGL, and OpenGL ES Conformance Tests
https://www.khronos.org/
Apache License 2.0
521 stars 290 forks source link

Out-of-bounds read in populateBufferWithCopy #417 #427

Closed sumcai closed 10 months ago

sumcai commented 10 months ago

PopulateBufferWithCopy actually calls deMemcpy, use buffer access range with it

void populateBufferWithCopy (void*                  buffer,
                             VkDeviceSize           size,
                             const void* const      blob)
{
    deMemcpy(buffer, blob, static_cast<size_t>(size));
}
CLAassistant commented 10 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


sumcai seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.