title: Setting ppEnabledExtensionNames causes Vulkan crash
body: <p>I'm trying to learn Vulkan through vulkan-tutorial.com, and I am stuck on the <a href="https://vulkan-tutorial.com/Drawing_a_triangle/Setup/Validation_layers" rel="nofollow noreferrer">Validation Layer</a> tutorial. For some reason, setting <code>ppEnabledExtensionNames</code> to any <code>std::vector</code>'s <code>.data()</code> crashes the program.</p>
  
  <p>The problematic stuff is in <code>debug.cpp</code></p>
  
  <p>Here's a link: <a href="https://pastebin.com/j7NTQsH0" rel="nofollow noreferrer">https://pastebin.com/j7NTQsH0</a></p>
  
  <p>If somebody could <em>please</em> look at the code and tell me what's wrong, it would be greatly appreciated.</p>