From b7382a91384e6e9463ba85c6effec32f071dd4ca Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 22 Jan 2020 11:47:20 +0000 Subject: [PATCH] Use PushParam instead of PushParamRef in TagMessage#PushTarget. This could be a temporary string so copy it instead of risking a crash and/or dumping the contents of memory into messages. This fixes a crash introduced last week. --- include/modules/ctctags.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/modules/ctctags.h b/include/modules/ctctags.h index 68b8bcfdc..84fd7e93e 100644 --- a/include/modules/ctctags.h +++ b/include/modules/ctctags.h @@ -40,7 +40,7 @@ private: PushParam(rawtarget); } else - PushParamRef(target); + PushParam(target); } public: -- 2.39.5