[vulkan] Fix heap buffer overflow in Vulkan extension handling discovered by ASAN#7740
Conversation
|
Care to clue me in on which bits of code were causing the overflow? |
StringTable::resize() wasn't populating the pointer tables correctly, which caused the StringTable::assign(ctx, n, str) to write into bad memory. |
|
I'm still trying to diagnose ASAN leaks, but even with a debug runtime (and CMAKE_BUILD_TYPE=Debug), I don't get symbols for JIT-ed modules. What am I missing ... ?
... |
You're not missing anything -- this has never worked AFAICT |
…ered by ASAN (halide#7740) Fix heap buffer overflow in Vulkan extension handling discovered by ASAN Co-authored-by: Derek Gerstmann <dgerstmann@adobe.com>
No description provided.