From 0441294d9a635e8fd485631d0491dd795bb4733e Mon Sep 17 00:00:00 2001 From: Matheus Izvekov Date: Tue, 8 Jul 2025 14:41:42 -0300 Subject: [PATCH] fix: use after free returning string_view bound to local string --- src/lib/Support/LegibleNames.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Support/LegibleNames.cpp b/src/lib/Support/LegibleNames.cpp index 23bad65f0..8b10d3192 100644 --- a/src/lib/Support/LegibleNames.cpp +++ b/src/lib/Support/LegibleNames.cpp @@ -192,7 +192,7 @@ class LegibleNames::Impl If the symbolhas no name, then a reserved name based on the type is returned instead. */ - std::string_view + std::string getRawUnqualified(SymbolID const& id) { Info const* I = corpus_.find(id);