Closed syoyo closed 4 years ago
const char * pointer is no longer valid after exiting the inner most if clause, resulting segmentation fault when compiled with release mode. The issue could be reproducible by building Vulkan-glTF-PBR with ASAN and use Vulkan-Loaders.
const char *
if
https://github.com/KhronosGroup/Vulkan-Loader/issues/316
This PR also fix compilation for gcc 7.4(memcpy undefined. No new line at the end of file)
memcpy
Thanks for your PR. Very much appreciated.
Awesome! :pray:
const char *
pointer is no longer valid after exiting the inner mostif
clause, resulting segmentation fault when compiled with release mode. The issue could be reproducible by building Vulkan-glTF-PBR with ASAN and use Vulkan-Loaders.https://github.com/KhronosGroup/Vulkan-Loader/issues/316
This PR also fix compilation for gcc 7.4(
memcpy
undefined. No new line at the end of file)