Skip to content
Snippets Groups Projects
Commit 51a18b3e authored by Martin Heistermann's avatar Martin Heistermann
Browse files

RenderObject debug_name was a char* that sometimes pointed to temporary...

RenderObject debug_name was a char* that sometimes pointed to temporary buffers, change to std::string to ensure proper ownership.

Bug found using ASAN.

std::string can be assigned a const char*, so external code that just
sets the attribute to a null-terminated string should still work
unchanged.
parent 9b8dfec0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment