From 9ffded0e737baa05bf9ca3b3bb47fa3784ccfc9a Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sat, 14 Jun 2025 13:12:02 +1000 Subject: [PATCH] SmallString: Fix size bug in assign(SmallStringBase&&) --- src/common/small_string.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/small_string.cpp b/src/common/small_string.cpp index 80feac71b..1284b7e29 100644 --- a/src/common/small_string.cpp +++ b/src/common/small_string.cpp @@ -460,7 +460,7 @@ void SmallStringBase::assign(SmallStringBase&& move) } else { - assign(move.m_buffer, move.m_buffer_size); + assign(move.m_buffer, move.m_length); } }