From 19d7faa572b8fb03a55293f86cde040227c27196 Mon Sep 17 00:00:00 2001 From: chrisparker126 Date: Mon, 14 Oct 2013 22:03:11 +0000 Subject: [PATCH] finally found group signature bug, was aliasing signature in validateGrp call (perfect example of why one should use const)! git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs_finale@6831 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/gxs/rsgenexchange.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/gxs/rsgenexchange.cc b/libretroshare/src/gxs/rsgenexchange.cc index da9a6d080..54899fe0e 100644 --- a/libretroshare/src/gxs/rsgenexchange.cc +++ b/libretroshare/src/gxs/rsgenexchange.cc @@ -2532,7 +2532,7 @@ bool RsGenExchange::updateValid(RsGxsGrpMetaData& oldGrpMeta, RsNxsGrp& newGrp) return false; } - RsTlvKeySignature& adminSign = mit->second; + RsTlvKeySignature adminSign = mit->second; std::map& keys = oldGrpMeta.keys.keys; std::map::iterator keyMit = keys.find(oldGrpMeta.mGroupId);