From d7d71b9f352c03753b04ee6ca71c249dda33778f Mon Sep 17 00:00:00 2001 From: Sergey Veselov Date: Fri, 16 Aug 2024 07:45:03 +0000 Subject: [PATCH] LOGBROKER-9215: fix use after move in http_proxy --- ydb/core/http_proxy/http_service.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ydb/core/http_proxy/http_service.cpp b/ydb/core/http_proxy/http_service.cpp index 7ac573c3be2b..f476b4ceaf32 100644 --- a/ydb/core/http_proxy/http_service.cpp +++ b/ydb/core/http_proxy/http_service.cpp @@ -103,7 +103,8 @@ namespace NKikimr::NHttpProxy { try { auto signature = context.GetSignature(); - Processors->Execute(context.MethodName, std::move(context), std::move(signature), ctx); + auto methodName = context.MethodName; + Processors->Execute(std::move(context.MethodName), std::move(context), std::move(signature), ctx); } catch (const NKikimr::NSQS::TSQSException& e) { context.ResponseData.Status = NYdb::EStatus::BAD_REQUEST; context.ResponseData.ErrorText = e.what();