From 8b0b6f413d3cd8f16f13e26f401b838b859d1ed6 Mon Sep 17 00:00:00 2001 From: Julien Boeuf Date: Tue, 22 Sep 2015 13:31:16 -0700 Subject: It is a bad idea to have a map with string_refs as output params. This is very much unsafe as the string_ref could point on a stack variable of the callee. --- include/grpc++/security/auth_metadata_processor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/grpc++/security/auth_metadata_processor.h') diff --git a/include/grpc++/security/auth_metadata_processor.h b/include/grpc++/security/auth_metadata_processor.h index 18ad922321..9b9c06e3b6 100644 --- a/include/grpc++/security/auth_metadata_processor.h +++ b/include/grpc++/security/auth_metadata_processor.h @@ -45,7 +45,7 @@ namespace grpc { class AuthMetadataProcessor { public: typedef std::multimap InputMetadata; - typedef std::multimap OutputMetadata; + typedef std::multimap OutputMetadata; virtual ~AuthMetadataProcessor() {} -- cgit v1.2.3